Class Diagnostic.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
io.deephaven.proto.backplane.script.grpc.Diagnostic.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DiagnosticOrBuilder
,Cloneable
- Enclosing class:
- Diagnostic
public static final class Diagnostic.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
implements DiagnosticOrBuilder
Protobuf type
io.deephaven.proto.backplane.script.grpc.Diagnostic
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<? extends Diagnostic.DiagnosticTag> values) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
addAllTagsValue
(Iterable<Integer> values) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTags
(Diagnostic.DiagnosticTag value) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
addTagsValue
(int value) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
build()
clear()
optional string code = 3;
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
optional bytes data = 9;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) string message = 6;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
.io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
optional string source = 5;
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
clone()
getCode()
optional string code = 3;
com.google.protobuf.ByteString
optional string code = 3;
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
com.google.protobuf.ByteString
getData()
optional bytes data = 9;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string message = 6;
com.google.protobuf.ByteString
string message = 6;
getRange()
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
.io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
int
.io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
optional string source = 5;
com.google.protobuf.ByteString
optional string source = 5;
getTags
(int index) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
int
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
int
getTagsValue
(int index) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
boolean
hasCode()
optional string code = 3;
boolean
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
boolean
hasData()
optional bytes data = 9;
boolean
hasRange()
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
boolean
optional string source = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Diagnostic other) mergeRange
(DocumentRange value) .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
final Diagnostic.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) optional string code = 3;
setCodeBytes
(com.google.protobuf.ByteString value) optional string code = 3;
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
setCodeDescription
(Diagnostic.CodeDescription.Builder builderForValue) optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
setData
(com.google.protobuf.ByteString value) optional bytes data = 9;
setMessage
(String value) string message = 6;
setMessageBytes
(com.google.protobuf.ByteString value) string message = 6;
setRange
(DocumentRange value) .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
setRange
(DocumentRange.Builder builderForValue) .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
setSeverityValue
(int value) .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
optional string source = 5;
setSourceBytes
(com.google.protobuf.ByteString value) optional string source = 5;
setTags
(int index, Diagnostic.DiagnosticTag value) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
setTagsValue
(int index, int value) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
final Diagnostic.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
setField
public Diagnostic.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
setRepeatedField
public Diagnostic.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
addRepeatedField
public Diagnostic.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Diagnostic.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
mergeFrom
public Diagnostic.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Diagnostic.Builder>
- Throws:
IOException
-
hasRange
public boolean hasRange().io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
- Specified by:
hasRange
in interfaceDiagnosticOrBuilder
- Returns:
- Whether the range field is set.
-
getRange
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
- Specified by:
getRange
in interfaceDiagnosticOrBuilder
- Returns:
- The range.
-
setRange
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
-
setRange
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
-
mergeRange
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
-
clearRange
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
-
getRangeBuilder
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
-
getRangeOrBuilder
.io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
- Specified by:
getRangeOrBuilder
in interfaceDiagnosticOrBuilder
-
getSeverityValue
public int getSeverityValue().io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
- Specified by:
getSeverityValue
in interfaceDiagnosticOrBuilder
- Returns:
- The enum numeric value on the wire for severity.
-
setSeverityValue
.io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
- Parameters:
value
- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
.io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
- Specified by:
getSeverity
in interfaceDiagnosticOrBuilder
- Returns:
- The severity.
-
setSeverity
.io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
- Parameters:
value
- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
.io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
- Returns:
- This builder for chaining.
-
hasCode
public boolean hasCode()optional string code = 3;
- Specified by:
hasCode
in interfaceDiagnosticOrBuilder
- Returns:
- Whether the code field is set.
-
getCode
optional string code = 3;
- Specified by:
getCode
in interfaceDiagnosticOrBuilder
- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.ByteString getCodeBytes()optional string code = 3;
- Specified by:
getCodeBytes
in interfaceDiagnosticOrBuilder
- Returns:
- The bytes for code.
-
setCode
optional string code = 3;
- Parameters:
value
- The code to set.- Returns:
- This builder for chaining.
-
clearCode
optional string code = 3;
- Returns:
- This builder for chaining.
-
setCodeBytes
optional string code = 3;
- Parameters:
value
- The bytes for code to set.- Returns:
- This builder for chaining.
-
hasCodeDescription
public boolean hasCodeDescription()optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
- Specified by:
hasCodeDescription
in interfaceDiagnosticOrBuilder
- Returns:
- Whether the codeDescription field is set.
-
getCodeDescription
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
- Specified by:
getCodeDescription
in interfaceDiagnosticOrBuilder
- Returns:
- The codeDescription.
-
setCodeDescription
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
-
setCodeDescription
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
-
mergeCodeDescription
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
-
clearCodeDescription
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
-
getCodeDescriptionBuilder
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
-
getCodeDescriptionOrBuilder
optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
- Specified by:
getCodeDescriptionOrBuilder
in interfaceDiagnosticOrBuilder
-
hasSource
public boolean hasSource()optional string source = 5;
- Specified by:
hasSource
in interfaceDiagnosticOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
optional string source = 5;
- Specified by:
getSource
in interfaceDiagnosticOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()optional string source = 5;
- Specified by:
getSourceBytes
in interfaceDiagnosticOrBuilder
- Returns:
- The bytes for source.
-
setSource
optional string source = 5;
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
optional string source = 5;
- Returns:
- This builder for chaining.
-
setSourceBytes
optional string source = 5;
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
getMessage
string message = 6;
- Specified by:
getMessage
in interfaceDiagnosticOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 6;
- Specified by:
getMessageBytes
in interfaceDiagnosticOrBuilder
- Returns:
- The bytes for message.
-
setMessage
string message = 6;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
string message = 6;
- Returns:
- This builder for chaining.
-
setMessageBytes
string message = 6;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
getTagsList
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Specified by:
getTagsList
in interfaceDiagnosticOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Specified by:
getTagsCount
in interfaceDiagnosticOrBuilder
- Returns:
- The count of tags.
-
getTags
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Specified by:
getTags
in interfaceDiagnosticOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
setTags
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Parameters:
index
- The index to set the value at.value
- The tags to set.- Returns:
- This builder for chaining.
-
addTags
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Parameters:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Parameters:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Returns:
- This builder for chaining.
-
getTagsValueList
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Specified by:
getTagsValueList
in interfaceDiagnosticOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for tags.
-
getTagsValue
public int getTagsValue(int index) repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Specified by:
getTagsValue
in interfaceDiagnosticOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of tags at the given index.
-
setTagsValue
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for tags to set.- Returns:
- This builder for chaining.
-
addTagsValue
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Parameters:
value
- The enum numeric value on the wire for tags to add.- Returns:
- This builder for chaining.
-
addAllTagsValue
repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
- Parameters:
values
- The enum numeric values on the wire for tags to add.- Returns:
- This builder for chaining.
-
hasData
public boolean hasData()optional bytes data = 9;
- Specified by:
hasData
in interfaceDiagnosticOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.ByteString getData()optional bytes data = 9;
- Specified by:
getData
in interfaceDiagnosticOrBuilder
- Returns:
- The data.
-
setData
optional bytes data = 9;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
optional bytes data = 9;
- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
mergeUnknownFields
public final Diagnostic.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-