Class DeliverInfo (1.34.0)

public final class DeliverInfo extends GeneratedMessageV3 implements DeliverInfoOrBuilder

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

Protobuf type google.cloud.networkmanagement.v1.DeliverInfo

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 DeliverInfo getDefaultInstance()
Returns
TypeDescription
DeliverInfo

getDescriptor()

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

newBuilder()

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

newBuilder(DeliverInfo prototype)

public static DeliverInfo.Builder newBuilder(DeliverInfo prototype)
Parameter
NameDescription
prototypeDeliverInfo
Returns
TypeDescription
DeliverInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeliverInfo getDefaultInstanceForType()
Returns
TypeDescription
DeliverInfo

getParserForType()

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

getResourceUri()

public String getResourceUri()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTarget()

public DeliverInfo.Target getTarget()

Target type where the packet is delivered to.

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

Returns
TypeDescription
DeliverInfo.Target

The target.

getTargetValue()

public int getTargetValue()

Target type where the packet is delivered to.

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

Returns
TypeDescription
int

The enum numeric value on the wire for target.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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