Class DropInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DropInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder
- All Implemented Interfaces:
DropInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DropInfo
public static final class DropInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DropInfo.Builder>
implements DropInfoOrBuilder
Details of the final state "drop" and associated resource.Protobuf type
google.cloud.networkmanagement.v1beta1.DropInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Cause that the packet is dropped.Geolocation (region code) of the destination IP address (if relevant).Destination IP address of the dropped packet (if relevant).Region of the dropped packet (if relevant).URI of the resource that caused the drop.Geolocation (region code) of the source IP address (if relevant).Source IP address of the dropped packet (if relevant).getCause()Cause that the packet is dropped.intCause that the packet is dropped.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorGeolocation (region code) of the destination IP address (if relevant).com.google.protobuf.ByteStringGeolocation (region code) of the destination IP address (if relevant).Destination IP address of the dropped packet (if relevant).com.google.protobuf.ByteStringDestination IP address of the dropped packet (if relevant).Region of the dropped packet (if relevant).com.google.protobuf.ByteStringRegion of the dropped packet (if relevant).URI of the resource that caused the drop.com.google.protobuf.ByteStringURI of the resource that caused the drop.Geolocation (region code) of the source IP address (if relevant).com.google.protobuf.ByteStringGeolocation (region code) of the source IP address (if relevant).Source IP address of the dropped packet (if relevant).com.google.protobuf.ByteStringSource IP address of the dropped packet (if relevant).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCause(DropInfo.Cause value) Cause that the packet is dropped.setCauseValue(int value) Cause that the packet is dropped.Geolocation (region code) of the destination IP address (if relevant).setDestinationGeolocationCodeBytes(com.google.protobuf.ByteString value) Geolocation (region code) of the destination IP address (if relevant).setDestinationIp(String value) Destination IP address of the dropped packet (if relevant).setDestinationIpBytes(com.google.protobuf.ByteString value) Destination IP address of the dropped packet (if relevant).Region of the dropped packet (if relevant).setRegionBytes(com.google.protobuf.ByteString value) Region of the dropped packet (if relevant).setResourceUri(String value) URI of the resource that caused the drop.setResourceUriBytes(com.google.protobuf.ByteString value) URI of the resource that caused the drop.setSourceGeolocationCode(String value) Geolocation (region code) of the source IP address (if relevant).setSourceGeolocationCodeBytes(com.google.protobuf.ByteString value) Geolocation (region code) of the source IP address (if relevant).setSourceIp(String value) Source IP address of the dropped packet (if relevant).setSourceIpBytes(com.google.protobuf.ByteString value) Source IP address of the dropped packet (if relevant).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DropInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DropInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DropInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DropInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DropInfo.Builder>
-
mergeFrom
public DropInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DropInfo.Builder>- Throws:
IOException
-
getCauseValue
public int getCauseValue()Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;- Specified by:
getCauseValuein interfaceDropInfoOrBuilder- Returns:
- The enum numeric value on the wire for cause.
-
setCauseValue
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;- Parameters:
value- The enum numeric value on the wire for cause to set.- Returns:
- This builder for chaining.
-
getCause
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;- Specified by:
getCausein interfaceDropInfoOrBuilder- Returns:
- The cause.
-
setCause
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;- Parameters:
value- The cause to set.- Returns:
- This builder for chaining.
-
clearCause
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;- Returns:
- This builder for chaining.
-
getResourceUri
URI of the resource that caused the drop.
string resource_uri = 2;- Specified by:
getResourceUriin interfaceDropInfoOrBuilder- Returns:
- The resourceUri.
-
getResourceUriBytes
public com.google.protobuf.ByteString getResourceUriBytes()URI of the resource that caused the drop.
string resource_uri = 2;- Specified by:
getResourceUriBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for resourceUri.
-
setResourceUri
URI of the resource that caused the drop.
string resource_uri = 2;- Parameters:
value- The resourceUri to set.- Returns:
- This builder for chaining.
-
clearResourceUri
URI of the resource that caused the drop.
string resource_uri = 2;- Returns:
- This builder for chaining.
-
setResourceUriBytes
URI of the resource that caused the drop.
string resource_uri = 2;- Parameters:
value- The bytes for resourceUri to set.- Returns:
- This builder for chaining.
-
getSourceIp
Source IP address of the dropped packet (if relevant).
string source_ip = 3;- Specified by:
getSourceIpin interfaceDropInfoOrBuilder- Returns:
- The sourceIp.
-
getSourceIpBytes
public com.google.protobuf.ByteString getSourceIpBytes()Source IP address of the dropped packet (if relevant).
string source_ip = 3;- Specified by:
getSourceIpBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for sourceIp.
-
setSourceIp
Source IP address of the dropped packet (if relevant).
string source_ip = 3;- Parameters:
value- The sourceIp to set.- Returns:
- This builder for chaining.
-
clearSourceIp
Source IP address of the dropped packet (if relevant).
string source_ip = 3;- Returns:
- This builder for chaining.
-
setSourceIpBytes
Source IP address of the dropped packet (if relevant).
string source_ip = 3;- Parameters:
value- The bytes for sourceIp to set.- Returns:
- This builder for chaining.
-
getDestinationIp
Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;- Specified by:
getDestinationIpin interfaceDropInfoOrBuilder- Returns:
- The destinationIp.
-
getDestinationIpBytes
public com.google.protobuf.ByteString getDestinationIpBytes()Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;- Specified by:
getDestinationIpBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for destinationIp.
-
setDestinationIp
Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;- Parameters:
value- The destinationIp to set.- Returns:
- This builder for chaining.
-
clearDestinationIp
Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;- Returns:
- This builder for chaining.
-
setDestinationIpBytes
Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;- Parameters:
value- The bytes for destinationIp to set.- Returns:
- This builder for chaining.
-
getRegion
Region of the dropped packet (if relevant).
string region = 5;- Specified by:
getRegionin interfaceDropInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Region of the dropped packet (if relevant).
string region = 5;- Specified by:
getRegionBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for region.
-
setRegion
Region of the dropped packet (if relevant).
string region = 5;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Region of the dropped packet (if relevant).
string region = 5;- Returns:
- This builder for chaining.
-
setRegionBytes
Region of the dropped packet (if relevant).
string region = 5;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
getSourceGeolocationCode
Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;- Specified by:
getSourceGeolocationCodein interfaceDropInfoOrBuilder- Returns:
- The sourceGeolocationCode.
-
getSourceGeolocationCodeBytes
public com.google.protobuf.ByteString getSourceGeolocationCodeBytes()Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;- Specified by:
getSourceGeolocationCodeBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for sourceGeolocationCode.
-
setSourceGeolocationCode
Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;- Parameters:
value- The sourceGeolocationCode to set.- Returns:
- This builder for chaining.
-
clearSourceGeolocationCode
Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;- Returns:
- This builder for chaining.
-
setSourceGeolocationCodeBytes
Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;- Parameters:
value- The bytes for sourceGeolocationCode to set.- Returns:
- This builder for chaining.
-
getDestinationGeolocationCode
Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;- Specified by:
getDestinationGeolocationCodein interfaceDropInfoOrBuilder- Returns:
- The destinationGeolocationCode.
-
getDestinationGeolocationCodeBytes
public com.google.protobuf.ByteString getDestinationGeolocationCodeBytes()Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;- Specified by:
getDestinationGeolocationCodeBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for destinationGeolocationCode.
-
setDestinationGeolocationCode
Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;- Parameters:
value- The destinationGeolocationCode to set.- Returns:
- This builder for chaining.
-
clearDestinationGeolocationCode
Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;- Returns:
- This builder for chaining.
-
setDestinationGeolocationCodeBytes
Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;- Parameters:
value- The bytes for destinationGeolocationCode to set.- Returns:
- This builder for chaining.
-