Class ReservationsResizeRequest (1.28.0)

public final class ReservationsResizeRequest extends GeneratedMessageV3 implements ReservationsResizeRequestOrBuilder

Protobuf type google.cloud.compute.v1.ReservationsResizeRequest

Static Fields

SPECIFIC_SKU_COUNT_FIELD_NUMBER

public static final int SPECIFIC_SKU_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReservationsResizeRequest getDefaultInstance()
Returns
TypeDescription
ReservationsResizeRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReservationsResizeRequest.Builder newBuilder()
Returns
TypeDescription
ReservationsResizeRequest.Builder

newBuilder(ReservationsResizeRequest prototype)

public static ReservationsResizeRequest.Builder newBuilder(ReservationsResizeRequest prototype)
Parameter
NameDescription
prototypeReservationsResizeRequest
Returns
TypeDescription
ReservationsResizeRequest.Builder

parseDelimitedFrom(InputStream input)

public static ReservationsResizeRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationsResizeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReservationsResizeRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReservationsResizeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReservationsResizeRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReservationsResizeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReservationsResizeRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationsResizeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReservationsResizeRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationsResizeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReservationsResizeRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReservationsResizeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsResizeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReservationsResizeRequest> parser()
Returns
TypeDescription
Parser<ReservationsResizeRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReservationsResizeRequest getDefaultInstanceForType()
Returns
TypeDescription
ReservationsResizeRequest

getParserForType()

public Parser<ReservationsResizeRequest> getParserForType()
Returns
TypeDescription
Parser<ReservationsResizeRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
long

The specificSkuCount.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasSpecificSkuCount()

public boolean hasSpecificSkuCount()

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

optional int64 specific_sku_count = 13890720;

Returns
TypeDescription
boolean

Whether the specificSkuCount field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReservationsResizeRequest.Builder newBuilderForType()
Returns
TypeDescription
ReservationsResizeRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReservationsResizeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReservationsResizeRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReservationsResizeRequest.Builder toBuilder()
Returns
TypeDescription
ReservationsResizeRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException