Class InstancesSetMinCpuPlatformRequest.Builder (1.56.0)

public static final class InstancesSetMinCpuPlatformRequest.Builder extends GeneratedMessageV3.Builder<InstancesSetMinCpuPlatformRequest.Builder> implements InstancesSetMinCpuPlatformRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstancesSetMinCpuPlatformRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstancesSetMinCpuPlatformRequest build()
Returns
Type Description
InstancesSetMinCpuPlatformRequest

buildPartial()

public InstancesSetMinCpuPlatformRequest buildPartial()
Returns
Type Description
InstancesSetMinCpuPlatformRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMinCpuPlatform()

public InstancesSetMinCpuPlatformRequest.Builder clearMinCpuPlatform()

Minimum cpu/platform this instance should be started at.

optional string min_cpu_platform = 242912759;

Returns
Type Description
InstancesSetMinCpuPlatformRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InstancesSetMinCpuPlatformRequest.Builder clone()
Returns
Type Description
InstancesSetMinCpuPlatformRequest.Builder
Overrides

getDefaultInstanceForType()

public InstancesSetMinCpuPlatformRequest getDefaultInstanceForType()
Returns
Type Description
InstancesSetMinCpuPlatformRequest

getDescriptorForType()

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

getMinCpuPlatform()

public String getMinCpuPlatform()

Minimum cpu/platform this instance should be started at.

optional string min_cpu_platform = 242912759;

Returns
Type Description
String

The minCpuPlatform.

getMinCpuPlatformBytes()

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.

hasMinCpuPlatform()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstancesSetMinCpuPlatformRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMinCpuPlatform(String value)

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
Type Description
InstancesSetMinCpuPlatformRequest.Builder

This builder for chaining.

setMinCpuPlatformBytes(ByteString value)

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
Type Description
InstancesSetMinCpuPlatformRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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