public final class DropInfo extends GeneratedMessageV3 implements DropInfoOrBuilder
Details of the final state "drop" and associated resource.
Protobuf type google.cloud.networkmanagement.v1.DropInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESTINATION_IP_FIELD_NUMBER
public static final int DESTINATION_IP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_URI_FIELD_NUMBER
public static final int RESOURCE_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DropInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DropInfo.Builder newBuilder()
newBuilder(DropInfo prototype)
public static DropInfo.Builder newBuilder(DropInfo prototype)
Parameter |
Name |
Description |
prototype |
DropInfo
|
public static DropInfo parseDelimitedFrom(InputStream input)
public static DropInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DropInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DropInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DropInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DropInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DropInfo parseFrom(CodedInputStream input)
public static DropInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DropInfo parseFrom(InputStream input)
public static DropInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DropInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DropInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DropInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCause()
public DropInfo.Cause getCause()
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
getCauseValue()
public int getCauseValue()
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for cause.
|
getDefaultInstanceForType()
public DropInfo getDefaultInstanceForType()
getDestinationIp()
public String getDestinationIp()
Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;
Returns |
Type |
Description |
String |
The destinationIp.
|
getDestinationIpBytes()
public ByteString getDestinationIpBytes()
Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;
Returns |
Type |
Description |
ByteString |
The bytes for destinationIp.
|
getParserForType()
public Parser<DropInfo> getParserForType()
Overrides
getRegion()
public String getRegion()
Region of the dropped packet (if relevant).
string region = 5;
Returns |
Type |
Description |
String |
The region.
|
getRegionBytes()
public ByteString getRegionBytes()
Region of the dropped packet (if relevant).
string region = 5;
Returns |
Type |
Description |
ByteString |
The bytes for region.
|
getResourceUri()
public String getResourceUri()
URI of the resource that caused the drop.
string resource_uri = 2;
Returns |
Type |
Description |
String |
The resourceUri.
|
getResourceUriBytes()
public ByteString getResourceUriBytes()
URI of the resource that caused the drop.
string resource_uri = 2;
Returns |
Type |
Description |
ByteString |
The bytes for resourceUri.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceIp()
public String getSourceIp()
Source IP address of the dropped packet (if relevant).
string source_ip = 3;
Returns |
Type |
Description |
String |
The sourceIp.
|
getSourceIpBytes()
public ByteString getSourceIpBytes()
Source IP address of the dropped packet (if relevant).
string source_ip = 3;
Returns |
Type |
Description |
ByteString |
The bytes for sourceIp.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DropInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DropInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DropInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides