public final class DisksResizeRequest extends GeneratedMessageV3 implements DisksResizeRequestOrBuilder
Protobuf type google.cloud.compute.v1.DisksResizeRequest
Static Fields
SIZE_GB_FIELD_NUMBER
public static final int SIZE_GB_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DisksResizeRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DisksResizeRequest.Builder newBuilder()
Returns
newBuilder(DisksResizeRequest prototype)
public static DisksResizeRequest.Builder newBuilder(DisksResizeRequest prototype)
Parameter
Returns
public static DisksResizeRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DisksResizeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DisksResizeRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisksResizeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DisksResizeRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisksResizeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DisksResizeRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DisksResizeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DisksResizeRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DisksResizeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DisksResizeRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisksResizeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DisksResizeRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DisksResizeRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<DisksResizeRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSizeGb()
The new size of the persistent disk, which is specified in GB.
optional int64 size_gb = 494929369;
Returns
Type | Description |
long | The sizeGb.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasSizeGb()
public boolean hasSizeGb()
The new size of the persistent disk, which is specified in GB.
optional int64 size_gb = 494929369;
Returns
Type | Description |
boolean | Whether the sizeGb field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DisksResizeRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DisksResizeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DisksResizeRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions