public static final class ServiceConstants.Builder extends GeneratedMessageV3.Builder<ServiceConstants.Builder> implements ServiceConstantsOrBuilder
Shared constants.
Protobuf type google.storage.v2.ServiceConstants
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceConstants.BuilderImplements
ServiceConstantsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceConstants.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
build()
public ServiceConstants build()
Returns | |
---|---|
Type | Description |
ServiceConstants |
buildPartial()
public ServiceConstants buildPartial()
Returns | |
---|---|
Type | Description |
ServiceConstants |
clear()
public ServiceConstants.Builder clear()
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
clearField(Descriptors.FieldDescriptor field)
public ServiceConstants.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceConstants.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
clone()
public ServiceConstants.Builder clone()
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
getDefaultInstanceForType()
public ServiceConstants getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ServiceConstants |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceConstants.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ServiceConstants.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
mergeFrom(ServiceConstants other)
public ServiceConstants.Builder mergeFrom(ServiceConstants other)
Parameter | |
---|---|
Name | Description |
other |
ServiceConstants |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConstants.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceConstants.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceConstants.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConstants.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceConstants.Builder |