Class ForwardingRuleAttachedExtension (1.105.0)

public final class ForwardingRuleAttachedExtension extends GeneratedMessage implements ForwardingRuleAttachedExtensionOrBuilder

Reference to an extension resource that is attached to this ForwardingRule.

Protobuf type google.cloud.compute.v1.ForwardingRuleAttachedExtension

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ForwardingRuleAttachedExtension

Static Fields

REFERENCE_FIELD_NUMBER

public static final int REFERENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ForwardingRuleAttachedExtension getDefaultInstance()
Returns
Type Description
ForwardingRuleAttachedExtension

getDescriptor()

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

newBuilder()

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

newBuilder(ForwardingRuleAttachedExtension prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ForwardingRuleAttachedExtension getDefaultInstanceForType()
Returns
Type Description
ForwardingRuleAttachedExtension

getParserForType()

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

getReference()

public String getReference()

Output only. The resource name.

optional string reference = 148586315;

Returns
Type Description
String

The reference.

getReferenceBytes()

public ByteString getReferenceBytes()

Output only. The resource name.

optional string reference = 148586315;

Returns
Type Description
ByteString

The bytes for reference.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasReference()

public boolean hasReference()

Output only. The resource name.

optional string reference = 148586315;

Returns
Type Description
boolean

Whether the reference field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ForwardingRuleAttachedExtension.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ForwardingRuleAttachedExtension.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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