public static final class DropInfo.Builder extends GeneratedMessage.Builder<DropInfo.Builder> implements DropInfoOrBuilderDetails of the final state "drop" and associated resource.
Protobuf type google.cloud.networkmanagement.v1.DropInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DropInfo.BuilderImplements
DropInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DropInfo build()| Returns | |
|---|---|
| Type | Description |
DropInfo |
|
buildPartial()
public DropInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
DropInfo |
|
clear()
public DropInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
|
clearCause()
public DropInfo.Builder clearCause()Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
clearDestinationGeolocationCode()
public DropInfo.Builder clearDestinationGeolocationCode()Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
clearDestinationIp()
public DropInfo.Builder clearDestinationIp()Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
clearRegion()
public DropInfo.Builder clearRegion()Region of the dropped packet (if relevant).
string region = 5;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
clearResourceUri()
public DropInfo.Builder clearResourceUri()URI of the resource that caused the drop.
string resource_uri = 2;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
clearSourceGeolocationCode()
public DropInfo.Builder clearSourceGeolocationCode()Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
clearSourceIp()
public DropInfo.Builder clearSourceIp()Source IP address of the dropped packet (if relevant).
string source_ip = 3;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
getCause()
public DropInfo.Cause getCause()Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
| Returns | |
|---|---|
| Type | Description |
DropInfo.Cause |
The cause. |
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()| Returns | |
|---|---|
| Type | Description |
DropInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DropInfo other)
public DropInfo.Builder mergeFrom(DropInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
DropInfo |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DropInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DropInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
|
setCause(DropInfo.Cause value)
public DropInfo.Builder setCause(DropInfo.Cause value)Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DropInfo.CauseThe cause to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setCauseValue(int value)
public DropInfo.Builder setCauseValue(int value)Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for cause to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setDestinationGeolocationCode(String value)
public DropInfo.Builder setDestinationGeolocationCode(String value)Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destinationGeolocationCode to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setDestinationGeolocationCodeBytes(ByteString value)
public DropInfo.Builder setDestinationGeolocationCodeBytes(ByteString value)Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationGeolocationCode to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setDestinationIp(String value)
public DropInfo.Builder setDestinationIp(String value)Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destinationIp to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setDestinationIpBytes(ByteString value)
public DropInfo.Builder setDestinationIpBytes(ByteString value)Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationIp to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setRegion(String value)
public DropInfo.Builder setRegion(String value)Region of the dropped packet (if relevant).
string region = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public DropInfo.Builder setRegionBytes(ByteString value)Region of the dropped packet (if relevant).
string region = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setResourceUri(String value)
public DropInfo.Builder setResourceUri(String value)URI of the resource that caused the drop.
string resource_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceUri to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setResourceUriBytes(ByteString value)
public DropInfo.Builder setResourceUriBytes(ByteString value)URI of the resource that caused the drop.
string resource_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceUri to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setSourceGeolocationCode(String value)
public DropInfo.Builder setSourceGeolocationCode(String value)Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceGeolocationCode to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setSourceGeolocationCodeBytes(ByteString value)
public DropInfo.Builder setSourceGeolocationCodeBytes(ByteString value)Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceGeolocationCode to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setSourceIp(String value)
public DropInfo.Builder setSourceIp(String value)Source IP address of the dropped packet (if relevant).
string source_ip = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |
setSourceIpBytes(ByteString value)
public DropInfo.Builder setSourceIpBytes(ByteString value)Source IP address of the dropped packet (if relevant).
string source_ip = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
DropInfo.Builder |
This builder for chaining. |