Class DeliverInfo (1.48.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

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeliverInfo getDefaultInstance()
Returns
Type Description
DeliverInfo

getDescriptor()

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

newBuilder()

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

newBuilder(DeliverInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeliverInfo getDefaultInstanceForType()
Returns
Type Description
DeliverInfo

getIpAddress()

public String getIpAddress()

IP address of the target (if applicable).

string ip_address = 3 [(.google.api.field_info) = { ... }

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

IP address of the target (if applicable).

string ip_address = 3 [(.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ipAddress.

getParserForType()

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

getResourceUri()

public String getResourceUri()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
Type Description
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
Type Description
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTarget()

public DeliverInfo.Target getTarget()

Target type where the packet is delivered to.

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

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for target.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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