Class InstancesSetMinCpuPlatformRequest.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstancesSetMinCpuPlatformRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

build()

public InstancesSetMinCpuPlatformRequest build()
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest

buildPartial()

public InstancesSetMinCpuPlatformRequest buildPartial()
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest

clear()

public InstancesSetMinCpuPlatformRequest.Builder clear()
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InstancesSetMinCpuPlatformRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

clearMinCpuPlatform()

public InstancesSetMinCpuPlatformRequest.Builder clearMinCpuPlatform()

Minimum cpu/platform this instance should be started at.

optional string min_cpu_platform = 242912759;

Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstancesSetMinCpuPlatformRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

clone()

public InstancesSetMinCpuPlatformRequest.Builder clone()
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

getDefaultInstanceForType()

public InstancesSetMinCpuPlatformRequest getDefaultInstanceForType()
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMinCpuPlatform()

public String getMinCpuPlatform()

Minimum cpu/platform this instance should be started at.

optional string min_cpu_platform = 242912759;

Returns
TypeDescription
String

The minCpuPlatform.

getMinCpuPlatformBytes()

public ByteString getMinCpuPlatformBytes()

Minimum cpu/platform this instance should be started at.

optional string min_cpu_platform = 242912759;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the minCpuPlatform field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstancesSetMinCpuPlatformRequest other)

public InstancesSetMinCpuPlatformRequest.Builder mergeFrom(InstancesSetMinCpuPlatformRequest other)
Parameter
NameDescription
otherInstancesSetMinCpuPlatformRequest
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstancesSetMinCpuPlatformRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstancesSetMinCpuPlatformRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstancesSetMinCpuPlatformRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InstancesSetMinCpuPlatformRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The minCpuPlatform to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for minCpuPlatform to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstancesSetMinCpuPlatformRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstancesSetMinCpuPlatformRequest.Builder
Overrides