Class ResourceGroupReference (1.53.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
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceGroupReference getDefaultInstance()
Returns
Type Description
ResourceGroupReference

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ResourceGroupReference.Builder newBuilder()
Returns
Type Description
ResourceGroupReference.Builder

newBuilder(ResourceGroupReference prototype)

public static ResourceGroupReference.Builder newBuilder(ResourceGroupReference prototype)
Parameter
Name Description
prototype ResourceGroupReference
Returns
Type Description
ResourceGroupReference.Builder

parseDelimitedFrom(InputStream input)

public static ResourceGroupReference parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceGroupReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ResourceGroupReference parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceGroupReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceGroupReference parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceGroupReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceGroupReference parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceGroupReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ResourceGroupReference parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceGroupReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ResourceGroupReference parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceGroupReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceGroupReference
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ResourceGroupReference> parser()
Returns
Type Description
Parser<ResourceGroupReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ResourceGroupReference getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for group.

getParserForType()

public Parser<ResourceGroupReference> getParserForType()
Returns
Type Description
Parser<ResourceGroupReference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
boolean

Whether the group field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResourceGroupReference.Builder newBuilderForType()
Returns
Type Description
ResourceGroupReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourceGroupReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourceGroupReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ResourceGroupReference.Builder toBuilder()
Returns
Type Description
ResourceGroupReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException