public static final class InstancesSetMinCpuPlatformRequest.Builder extends GeneratedMessageV3.Builder<InstancesSetMinCpuPlatformRequest.Builder> implements InstancesSetMinCpuPlatformRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstancesSetMinCpuPlatformRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public InstancesSetMinCpuPlatformRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public InstancesSetMinCpuPlatformRequest build()
Returns
public InstancesSetMinCpuPlatformRequest buildPartial()
Returns
public InstancesSetMinCpuPlatformRequest.Builder clear()
Returns
Overrides
public InstancesSetMinCpuPlatformRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public InstancesSetMinCpuPlatformRequest.Builder clearMinCpuPlatform()
Minimum cpu/platform this instance should be started at.
optional string min_cpu_platform = 242912759;
Returns
public InstancesSetMinCpuPlatformRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public InstancesSetMinCpuPlatformRequest.Builder clone()
Returns
Overrides
public InstancesSetMinCpuPlatformRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getMinCpuPlatform()
Minimum cpu/platform this instance should be started at.
optional string min_cpu_platform = 242912759;
Returns
Type | Description |
String | The minCpuPlatform.
|
public ByteString getMinCpuPlatformBytes()
Minimum cpu/platform this instance should be started at.
optional string min_cpu_platform = 242912759;
Returns
Type | Description |
ByteString | The bytes for minCpuPlatform.
|
public boolean hasMinCpuPlatform()
Minimum cpu/platform this instance should be started at.
optional string min_cpu_platform = 242912759;
Returns
Type | Description |
boolean | Whether the minCpuPlatform field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InstancesSetMinCpuPlatformRequest.Builder mergeFrom(InstancesSetMinCpuPlatformRequest other)
Parameter
Returns
public InstancesSetMinCpuPlatformRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public InstancesSetMinCpuPlatformRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final InstancesSetMinCpuPlatformRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public InstancesSetMinCpuPlatformRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public InstancesSetMinCpuPlatformRequest.Builder setMinCpuPlatform(String value)
Minimum cpu/platform this instance should be started at.
optional string min_cpu_platform = 242912759;
Parameter
Name | Description |
value | String
The minCpuPlatform to set.
|
Returns
public InstancesSetMinCpuPlatformRequest.Builder setMinCpuPlatformBytes(ByteString value)
Minimum cpu/platform this instance should be started at.
optional string min_cpu_platform = 242912759;
Parameter
Name | Description |
value | ByteString
The bytes for minCpuPlatform to set.
|
Returns
public InstancesSetMinCpuPlatformRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final InstancesSetMinCpuPlatformRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides