public static final class ReservationsResizeRequest.Builder extends GeneratedMessageV3.Builder<ReservationsResizeRequest.Builder> implements ReservationsResizeRequestOrBuilder
Protobuf type google.cloud.compute.v1.ReservationsResizeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReservationsResizeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReservationsResizeRequest build()
Returns
buildPartial()
public ReservationsResizeRequest buildPartial()
Returns
clear()
public ReservationsResizeRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReservationsResizeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReservationsResizeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ReservationsResizeRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReservationsResizeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReservationsResizeRequest other)
public ReservationsResizeRequest.Builder mergeFrom(ReservationsResizeRequest other)
Parameter
Returns
public ReservationsResizeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReservationsResizeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsResizeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReservationsResizeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReservationsResizeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsResizeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides