Class ForwardInfo (1.16.0)

public final class ForwardInfo extends GeneratedMessageV3 implements ForwardInfoOrBuilder

Details of the final state "forward" and associated resource.

Protobuf type google.cloud.networkmanagement.v1.ForwardInfo

Static Fields

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ForwardInfo getDefaultInstance()
Returns
TypeDescription
ForwardInfo

getDescriptor()

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

newBuilder()

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

newBuilder(ForwardInfo prototype)

public static ForwardInfo.Builder newBuilder(ForwardInfo prototype)
Parameter
NameDescription
prototypeForwardInfo
Returns
TypeDescription
ForwardInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ForwardInfo getDefaultInstanceForType()
Returns
TypeDescription
ForwardInfo

getParserForType()

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

getResourceUri()

public String getResourceUri()

URI of the resource that the packet is forwarded to.

string resource_uri = 2;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that the packet is forwarded to.

string resource_uri = 2;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTarget()

public ForwardInfo.Target getTarget()

Target type where this packet is forwarded to.

.google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1;

Returns
TypeDescription
ForwardInfo.Target

The target.

getTargetValue()

public int getTargetValue()

Target type where this packet is forwarded to.

.google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for target.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ForwardInfo.Builder newBuilderForType()
Returns
TypeDescription
ForwardInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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