Class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder (1.93.0)

public static final class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder extends GeneratedMessage.Builder<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder> implements AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyStateOrBuilder

Info for each topology state.

Protobuf type google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder

Static Methods

getDescriptor()

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

Methods

build()

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState build()
Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState

buildPartial()

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState buildPartial()
Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState

clear()

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder clear()
Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder
Overrides

clearCount()

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder clearCount()

The number of accelerator topologies in this state.

optional int32 count = 94851343;

Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder

This builder for chaining.

clearState()

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder clearState()

The state of the accelerator topology. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder

This builder for chaining.

getCount()

public int getCount()

The number of accelerator topologies in this state.

optional int32 count = 94851343;

Returns
Type Description
int

The count.

getDefaultInstanceForType()

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState getDefaultInstanceForType()
Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState

getDescriptorForType()

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

getState()

public String getState()

The state of the accelerator topology. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public ByteString getStateBytes()

The state of the accelerator topology. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

hasCount()

public boolean hasCount()

The number of accelerator topologies in this state.

optional int32 count = 94851343;

Returns
Type Description
boolean

Whether the count field is set.

hasState()

public boolean hasState()

The state of the accelerator topology. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCount(int value)

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder setCount(int value)

The number of accelerator topologies in this state.

optional int32 count = 94851343;

Parameter
Name Description
value int

The count to set.

Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder

This builder for chaining.

setState(String value)

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder setState(String value)

The state of the accelerator topology. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value String

The state to set.

Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder

This builder for chaining.

setStateBytes(ByteString value)

public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder setStateBytes(ByteString value)

The state of the accelerator topology. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value ByteString

The bytes for state to set.

Returns
Type Description
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder

This builder for chaining.