Package ucar.nc2.stream
Class NcStreamProto.Error.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Error.Builder>
-
- ucar.nc2.stream.NcStreamProto.Error.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.ErrorOrBuilder
- Enclosing class:
- NcStreamProto.Error
public static final class NcStreamProto.Error.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Error.Builder> implements NcStreamProto.ErrorOrBuilder
Protobuf typeError
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NcStreamProto.Error
build()
NcStreamProto.Error
buildPartial()
NcStreamProto.Error.Builder
clear()
NcStreamProto.Error.Builder
clearCode()
uint32 code = 2;
NcStreamProto.Error.Builder
clearMessage()
string message = 1;
int
getCode()
uint32 code = 2;
NcStreamProto.Error
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMessage()
string message = 1;
com.google.protobuf.ByteString
getMessageBytes()
string message = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NcStreamProto.Error.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NcStreamProto.Error.Builder
mergeFrom(com.google.protobuf.Message other)
NcStreamProto.Error.Builder
mergeFrom(NcStreamProto.Error other)
NcStreamProto.Error.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NcStreamProto.Error.Builder
setCode(int value)
uint32 code = 2;
NcStreamProto.Error.Builder
setMessage(String value)
string message = 1;
NcStreamProto.Error.Builder
setMessageBytes(com.google.protobuf.ByteString value)
string message = 1;
NcStreamProto.Error.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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
-
-
-
-
Method Detail
-
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<NcStreamProto.Error.Builder>
-
clear
public NcStreamProto.Error.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<NcStreamProto.Error.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<NcStreamProto.Error.Builder>
-
getDefaultInstanceForType
public NcStreamProto.Error getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.Error build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.Error buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.Error.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NcStreamProto.Error.Builder>
-
mergeFrom
public NcStreamProto.Error.Builder mergeFrom(NcStreamProto.Error other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Error.Builder>
-
mergeFrom
public NcStreamProto.Error.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<NcStreamProto.Error.Builder>
- Throws:
IOException
-
getMessage
public String getMessage()
string message = 1;
- Specified by:
getMessage
in interfaceNcStreamProto.ErrorOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
string message = 1;
- Specified by:
getMessageBytes
in interfaceNcStreamProto.ErrorOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public NcStreamProto.Error.Builder setMessage(String value)
string message = 1;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public NcStreamProto.Error.Builder clearMessage()
string message = 1;
- Returns:
- This builder for chaining.
-
setMessageBytes
public NcStreamProto.Error.Builder setMessageBytes(com.google.protobuf.ByteString value)
string message = 1;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
getCode
public int getCode()
uint32 code = 2;
- Specified by:
getCode
in interfaceNcStreamProto.ErrorOrBuilder
- Returns:
- The code.
-
setCode
public NcStreamProto.Error.Builder setCode(int value)
uint32 code = 2;
- Parameters:
value
- The code to set.- Returns:
- This builder for chaining.
-
clearCode
public NcStreamProto.Error.Builder clearCode()
uint32 code = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NcStreamProto.Error.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Error.Builder>
-
mergeUnknownFields
public final NcStreamProto.Error.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Error.Builder>
-
-