Class ResourceGroupReference (1.31.0)

public final class ResourceGroupReference extends GeneratedMessageV3 implements ResourceGroupReferenceOrBuilder

Protobuf type google.cloud.compute.v1.ResourceGroupReference

Static Fields

GROUP_FIELD_NUMBER

public static final int GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourceGroupReference getDefaultInstance()
Returns
TypeDescription
ResourceGroupReference

getDescriptor()

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

newBuilder()

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

newBuilder(ResourceGroupReference prototype)

public static ResourceGroupReference.Builder newBuilder(ResourceGroupReference prototype)
Parameter
NameDescription
prototypeResourceGroupReference
Returns
TypeDescription
ResourceGroupReference.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourceGroupReference getDefaultInstanceForType()
Returns
TypeDescription
ResourceGroupReference

getGroup()

public String getGroup()

A URI referencing one of the instance groups or network endpoint groups listed in the backend service.

optional string group = 98629247;

Returns
TypeDescription
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

A URI referencing one of the instance groups or network endpoint groups listed in the backend service.

optional string group = 98629247;

Returns
TypeDescription
ByteString

The bytes for group.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasGroup()

public boolean hasGroup()

A URI referencing one of the instance groups or network endpoint groups listed in the backend service.

optional string group = 98629247;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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