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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReservationsResizeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReservationsResizeRequest build()
buildPartial()
public ReservationsResizeRequest buildPartial()
clear()
public ReservationsResizeRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReservationsResizeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReservationsResizeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ReservationsResizeRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ReservationsResizeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReservationsResizeRequest other)
public ReservationsResizeRequest.Builder mergeFrom(ReservationsResizeRequest other)
public ReservationsResizeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReservationsResizeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsResizeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReservationsResizeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReservationsResizeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsResizeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides