Class ForwardingRuleReference (1.24.0)

public final class ForwardingRuleReference extends GeneratedMessageV3 implements ForwardingRuleReferenceOrBuilder

Protobuf type google.cloud.compute.v1.ForwardingRuleReference

Static Fields

FORWARDING_RULE_FIELD_NUMBER

public static final int FORWARDING_RULE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ForwardingRuleReference getDefaultInstance()
Returns
TypeDescription
ForwardingRuleReference

getDescriptor()

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

newBuilder()

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

newBuilder(ForwardingRuleReference prototype)

public static ForwardingRuleReference.Builder newBuilder(ForwardingRuleReference prototype)
Parameter
NameDescription
prototypeForwardingRuleReference
Returns
TypeDescription
ForwardingRuleReference.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ForwardingRuleReference getDefaultInstanceForType()
Returns
TypeDescription
ForwardingRuleReference

getForwardingRule()

public String getForwardingRule()

optional string forwarding_rule = 269964030;

Returns
TypeDescription
String

The forwardingRule.

getForwardingRuleBytes()

public ByteString getForwardingRuleBytes()

optional string forwarding_rule = 269964030;

Returns
TypeDescription
ByteString

The bytes for forwardingRule.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasForwardingRule()

public boolean hasForwardingRule()

optional string forwarding_rule = 269964030;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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