Class QueuedResource.BestEffort.Builder (2.24.0)

public static final class QueuedResource.BestEffort.Builder extends GeneratedMessageV3.Builder<QueuedResource.BestEffort.Builder> implements QueuedResource.BestEffortOrBuilder

BestEffort tier definition.

Protobuf type google.cloud.tpu.v2alpha1.QueuedResource.BestEffort

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueuedResource.BestEffort build()
Returns
TypeDescription
QueuedResource.BestEffort

buildPartial()

public QueuedResource.BestEffort buildPartial()
Returns
TypeDescription
QueuedResource.BestEffort

clear()

public QueuedResource.BestEffort.Builder clear()
Returns
TypeDescription
QueuedResource.BestEffort.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public QueuedResource.BestEffort.Builder clone()
Returns
TypeDescription
QueuedResource.BestEffort.Builder
Overrides

getDefaultInstanceForType()

public QueuedResource.BestEffort getDefaultInstanceForType()
Returns
TypeDescription
QueuedResource.BestEffort

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(QueuedResource.BestEffort other)

public QueuedResource.BestEffort.Builder mergeFrom(QueuedResource.BestEffort other)
Parameter
NameDescription
otherQueuedResource.BestEffort
Returns
TypeDescription
QueuedResource.BestEffort.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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