Class QueuedResource.Spot.Builder (2.48.0)

public static final class QueuedResource.Spot.Builder extends GeneratedMessageV3.Builder<QueuedResource.Spot.Builder> implements QueuedResource.SpotOrBuilder

Spot tier definition.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueuedResource.Spot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueuedResource.Spot.Builder
Overrides

build()

public QueuedResource.Spot build()
Returns
Type Description
QueuedResource.Spot

buildPartial()

public QueuedResource.Spot buildPartial()
Returns
Type Description
QueuedResource.Spot

clear()

public QueuedResource.Spot.Builder clear()
Returns
Type Description
QueuedResource.Spot.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public QueuedResource.Spot.Builder clone()
Returns
Type Description
QueuedResource.Spot.Builder
Overrides

getDefaultInstanceForType()

public QueuedResource.Spot getDefaultInstanceForType()
Returns
Type Description
QueuedResource.Spot

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

public QueuedResource.Spot.Builder mergeFrom(QueuedResource.Spot other)
Parameter
Name Description
other QueuedResource.Spot
Returns
Type Description
QueuedResource.Spot.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueuedResource.Spot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.Spot.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResource.Spot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueuedResource.Spot.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QueuedResource.Spot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueuedResource.Spot.Builder
Overrides

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

public QueuedResource.Spot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueuedResource.Spot.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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