Class ReservationsResizeRequest.Builder (1.59.0)

public static final class ReservationsResizeRequest.Builder extends GeneratedMessageV3.Builder<ReservationsResizeRequest.Builder> implements ReservationsResizeRequestOrBuilder

Protobuf type google.cloud.compute.v1.ReservationsResizeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReservationsResizeRequest build()
Returns
Type Description
ReservationsResizeRequest

buildPartial()

public ReservationsResizeRequest buildPartial()
Returns
Type Description
ReservationsResizeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSpecificSkuCount()

public ReservationsResizeRequest.Builder clearSpecificSkuCount()

Number of allocated resources can be resized with minimum = 1 and maximum = 1000.

optional int64 specific_sku_count = 13890720;

Returns
Type Description
ReservationsResizeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReservationsResizeRequest getDefaultInstanceForType()
Returns
Type Description
ReservationsResizeRequest

getDescriptorForType()

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

getSpecificSkuCount()

public long getSpecificSkuCount()

Number of allocated resources can be resized with minimum = 1 and maximum = 1000.

optional int64 specific_sku_count = 13890720;

Returns
Type Description
long

The specificSkuCount.

hasSpecificSkuCount()

public boolean hasSpecificSkuCount()

Number of allocated resources can be resized with minimum = 1 and maximum = 1000.

optional int64 specific_sku_count = 13890720;

Returns
Type Description
boolean

Whether the specificSkuCount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReservationsResizeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSpecificSkuCount(long value)

public ReservationsResizeRequest.Builder setSpecificSkuCount(long value)

Number of allocated resources can be resized with minimum = 1 and maximum = 1000.

optional int64 specific_sku_count = 13890720;

Parameter
Name Description
value long

The specificSkuCount to set.

Returns
Type Description
ReservationsResizeRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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