Class AllocationResourceStatusSpecificSKUAllocation (1.47.0)

public final class AllocationResourceStatusSpecificSKUAllocation extends GeneratedMessageV3 implements AllocationResourceStatusSpecificSKUAllocationOrBuilder

Contains Properties set for the reservation.

Protobuf type google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AllocationResourceStatusSpecificSKUAllocation

Static Fields

SOURCE_INSTANCE_TEMPLATE_ID_FIELD_NUMBER

public static final int SOURCE_INSTANCE_TEMPLATE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AllocationResourceStatusSpecificSKUAllocation getDefaultInstance()
Returns
TypeDescription
AllocationResourceStatusSpecificSKUAllocation

getDescriptor()

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

newBuilder()

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

newBuilder(AllocationResourceStatusSpecificSKUAllocation prototype)

public static AllocationResourceStatusSpecificSKUAllocation.Builder newBuilder(AllocationResourceStatusSpecificSKUAllocation prototype)
Parameter
NameDescription
prototypeAllocationResourceStatusSpecificSKUAllocation
Returns
TypeDescription
AllocationResourceStatusSpecificSKUAllocation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AllocationResourceStatusSpecificSKUAllocation getDefaultInstanceForType()
Returns
TypeDescription
AllocationResourceStatusSpecificSKUAllocation

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceInstanceTemplateId()

public String getSourceInstanceTemplateId()

ID of the instance template used to populate reservation properties.

optional string source_instance_template_id = 111196154;

Returns
TypeDescription
String

The sourceInstanceTemplateId.

getSourceInstanceTemplateIdBytes()

public ByteString getSourceInstanceTemplateIdBytes()

ID of the instance template used to populate reservation properties.

optional string source_instance_template_id = 111196154;

Returns
TypeDescription
ByteString

The bytes for sourceInstanceTemplateId.

hasSourceInstanceTemplateId()

public boolean hasSourceInstanceTemplateId()

ID of the instance template used to populate reservation properties.

optional string source_instance_template_id = 111196154;

Returns
TypeDescription
boolean

Whether the sourceInstanceTemplateId 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 AllocationResourceStatusSpecificSKUAllocation.Builder newBuilderForType()
Returns
TypeDescription
AllocationResourceStatusSpecificSKUAllocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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