Class ServiceConstants.Builder (2.33.0)

public static final class ServiceConstants.Builder extends GeneratedMessageV3.Builder<ServiceConstants.Builder> implements ServiceConstantsOrBuilder

Shared constants.

Protobuf type google.storage.v2.ServiceConstants

Static 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
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ServiceConstants.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ServiceConstants.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConstants.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ServiceConstants.Builder
Overrides

clone()

public ServiceConstants.Builder clone()
Returns
Type Description
ServiceConstants.Builder
Overrides

getDefaultInstanceForType()

public ServiceConstants getDefaultInstanceForType()
Returns
Type Description
ServiceConstants

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ServiceConstants.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ServiceConstants.Builder
Overrides

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
Overrides

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
Overrides

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConstants.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServiceConstants.Builder
Overrides