Package ucar.gcdm
Class GcdmNetcdfProto.HeaderResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.HeaderResponse.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.HeaderResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.HeaderResponseOrBuilder
- Enclosing class:
- GcdmNetcdfProto.HeaderResponse
public static final class GcdmNetcdfProto.HeaderResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.HeaderResponse.Builder> implements GcdmNetcdfProto.HeaderResponseOrBuilder
Protobuf typeucar.gcdm.HeaderResponse
-
-
Method Summary
-
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<GcdmNetcdfProto.HeaderResponse.Builder>
-
clear
public GcdmNetcdfProto.HeaderResponse.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<GcdmNetcdfProto.HeaderResponse.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<GcdmNetcdfProto.HeaderResponse.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.HeaderResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.HeaderResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.HeaderResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.HeaderResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GcdmNetcdfProto.HeaderResponse.Builder>
-
mergeFrom
public GcdmNetcdfProto.HeaderResponse.Builder mergeFrom(GcdmNetcdfProto.HeaderResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.HeaderResponse.Builder>
-
mergeFrom
public GcdmNetcdfProto.HeaderResponse.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<GcdmNetcdfProto.HeaderResponse.Builder>
- Throws:
IOException
-
hasError
public boolean hasError()
non-empty on error
.ucar.gcdm.Error error = 1;
- Specified by:
hasError
in interfaceGcdmNetcdfProto.HeaderResponseOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public GcdmNetcdfProto.Error getError()
non-empty on error
.ucar.gcdm.Error error = 1;
- Specified by:
getError
in interfaceGcdmNetcdfProto.HeaderResponseOrBuilder
- Returns:
- The error.
-
setError
public GcdmNetcdfProto.HeaderResponse.Builder setError(GcdmNetcdfProto.Error value)
non-empty on error
.ucar.gcdm.Error error = 1;
-
setError
public GcdmNetcdfProto.HeaderResponse.Builder setError(GcdmNetcdfProto.Error.Builder builderForValue)
non-empty on error
.ucar.gcdm.Error error = 1;
-
mergeError
public GcdmNetcdfProto.HeaderResponse.Builder mergeError(GcdmNetcdfProto.Error value)
non-empty on error
.ucar.gcdm.Error error = 1;
-
clearError
public GcdmNetcdfProto.HeaderResponse.Builder clearError()
non-empty on error
.ucar.gcdm.Error error = 1;
-
getErrorBuilder
public GcdmNetcdfProto.Error.Builder getErrorBuilder()
non-empty on error
.ucar.gcdm.Error error = 1;
-
getErrorOrBuilder
public GcdmNetcdfProto.ErrorOrBuilder getErrorOrBuilder()
non-empty on error
.ucar.gcdm.Error error = 1;
- Specified by:
getErrorOrBuilder
in interfaceGcdmNetcdfProto.HeaderResponseOrBuilder
-
getVersion
public int getVersion()
response version
uint32 version = 2;
- Specified by:
getVersion
in interfaceGcdmNetcdfProto.HeaderResponseOrBuilder
- Returns:
- The version.
-
setVersion
public GcdmNetcdfProto.HeaderResponse.Builder setVersion(int value)
response version
uint32 version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public GcdmNetcdfProto.HeaderResponse.Builder clearVersion()
response version
uint32 version = 2;
- Returns:
- This builder for chaining.
-
hasHeader
public boolean hasHeader()
.ucar.gcdm.Header header = 3;
- Specified by:
hasHeader
in interfaceGcdmNetcdfProto.HeaderResponseOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public GcdmNetcdfProto.Header getHeader()
.ucar.gcdm.Header header = 3;
- Specified by:
getHeader
in interfaceGcdmNetcdfProto.HeaderResponseOrBuilder
- Returns:
- The header.
-
setHeader
public GcdmNetcdfProto.HeaderResponse.Builder setHeader(GcdmNetcdfProto.Header value)
.ucar.gcdm.Header header = 3;
-
setHeader
public GcdmNetcdfProto.HeaderResponse.Builder setHeader(GcdmNetcdfProto.Header.Builder builderForValue)
.ucar.gcdm.Header header = 3;
-
mergeHeader
public GcdmNetcdfProto.HeaderResponse.Builder mergeHeader(GcdmNetcdfProto.Header value)
.ucar.gcdm.Header header = 3;
-
clearHeader
public GcdmNetcdfProto.HeaderResponse.Builder clearHeader()
.ucar.gcdm.Header header = 3;
-
getHeaderBuilder
public GcdmNetcdfProto.Header.Builder getHeaderBuilder()
.ucar.gcdm.Header header = 3;
-
getHeaderOrBuilder
public GcdmNetcdfProto.HeaderOrBuilder getHeaderOrBuilder()
.ucar.gcdm.Header header = 3;
- Specified by:
getHeaderOrBuilder
in interfaceGcdmNetcdfProto.HeaderResponseOrBuilder
-
setUnknownFields
public final GcdmNetcdfProto.HeaderResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.HeaderResponse.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.HeaderResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.HeaderResponse.Builder>
-
-