Class DropInfo (1.31.0)

public final class DropInfo extends GeneratedMessageV3 implements DropInfoOrBuilder

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

Protobuf type google.cloud.networkmanagement.v1.DropInfo

Implements

DropInfoOrBuilder

Static Fields

CAUSE_FIELD_NUMBER

public static final int CAUSE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DropInfo getDefaultInstance()
Returns
TypeDescription
DropInfo

getDescriptor()

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

newBuilder()

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

newBuilder(DropInfo prototype)

public static DropInfo.Builder newBuilder(DropInfo prototype)
Parameter
NameDescription
prototypeDropInfo
Returns
TypeDescription
DropInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCause()

public DropInfo.Cause getCause()

Cause that the packet is dropped.

.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;

Returns
TypeDescription
DropInfo.Cause

The cause.

getCauseValue()

public int getCauseValue()

Cause that the packet is dropped.

.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for cause.

getDefaultInstanceForType()

public DropInfo getDefaultInstanceForType()
Returns
TypeDescription
DropInfo

getParserForType()

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

getResourceUri()

public String getResourceUri()

URI of the resource that caused the drop.

string resource_uri = 2;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that caused the drop.

string resource_uri = 2;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 DropInfo.Builder newBuilderForType()
Returns
TypeDescription
DropInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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