Class ServiceConstants.Builder (2.11.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceConstants.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceConstants.Builder
Overrides

build()

public ServiceConstants build()
Returns
TypeDescription
ServiceConstants

buildPartial()

public ServiceConstants buildPartial()
Returns
TypeDescription
ServiceConstants

clear()

public ServiceConstants.Builder clear()
Returns
TypeDescription
ServiceConstants.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ServiceConstants.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ServiceConstants.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConstants.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ServiceConstants.Builder
Overrides

clone()

public ServiceConstants.Builder clone()
Returns
TypeDescription
ServiceConstants.Builder
Overrides

getDefaultInstanceForType()

public ServiceConstants getDefaultInstanceForType()
Returns
TypeDescription
ServiceConstants

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceConstants.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConstants.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ServiceConstants.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServiceConstants.Builder
Overrides

mergeFrom(ServiceConstants other)

public ServiceConstants.Builder mergeFrom(ServiceConstants other)
Parameter
NameDescription
otherServiceConstants
Returns
TypeDescription
ServiceConstants.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConstants.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceConstants.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceConstants.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceConstants.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ServiceConstants.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ServiceConstants.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConstants.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceConstants.Builder
Overrides