public static final class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder extends GeneratedMessage.Builder<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder> implements AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyStateOrBuilderInfo 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.BuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for state to set. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder |
This builder for chaining. |