public final class DropInfo extends GeneratedMessage implements DropInfoOrBuilder
Details of the final state "drop" and associated resource.
Protobuf type google.cloud.networkmanagement.v1.DropInfo
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESTINATION_GEOLOCATION_CODE_FIELD_NUMBER
public static final int DESTINATION_GEOLOCATION_CODE_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_GEOLOCATION_CODE_FIELD_NUMBER
public static final int SOURCE_GEOLOCATION_CODE_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()
getDestinationGeolocationCode()
public String getDestinationGeolocationCode()
Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;
| Returns |
| Type |
Description |
String |
The destinationGeolocationCode.
|
getDestinationGeolocationCodeBytes()
public ByteString getDestinationGeolocationCodeBytes()
Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for destinationGeolocationCode.
|
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
getSourceGeolocationCode()
public String getSourceGeolocationCode()
Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;
| Returns |
| Type |
Description |
String |
The sourceGeolocationCode.
|
getSourceGeolocationCodeBytes()
public ByteString getSourceGeolocationCodeBytes()
Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for sourceGeolocationCode.
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DropInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DropInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DropInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides