- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.1.10
public static final class DropInfo.Builder extends GeneratedMessageV3.Builder<DropInfo.Builder> implements DropInfoOrBuilder
Details of the final state "drop" and associated resource.
Protobuf type google.cloud.networkmanagement.v1.DropInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DropInfo.BuilderImplements
DropInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DropInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
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. |
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. |
clearField(Descriptors.FieldDescriptor field)
public DropInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DropInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
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. |
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. |
clone()
public DropInfo.Builder clone()
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
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 |
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. |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DropInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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.Cause The 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 |
int The enum numeric value on the wire for cause 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 |
String The 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 |
ByteString The bytes for destinationIp to set. |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DropInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
setRegion(String value)
public DropInfo.Builder setRegion(String value)
Region of the dropped packet (if relevant).
string region = 5;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for region to set. |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DropInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
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 |
String The 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 |
ByteString The bytes for resourceUri 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 |
String The 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 |
ByteString The bytes for sourceIp to set. |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DropInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DropInfo.Builder |