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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DropInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public DropInfo buildPartial()
Returns
clear()
public DropInfo.Builder clear()
Returns
Overrides
clearCause()
public DropInfo.Builder clearCause()
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public DropInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DropInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResourceUri()
public DropInfo.Builder clearResourceUri()
URI of the resource that caused the drop.
string resource_uri = 2;
Returns
clone()
public DropInfo.Builder clone()
Returns
Overrides
getCause()
public DropInfo.Cause getCause()
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DropInfo other)
public DropInfo.Builder mergeFrom(DropInfo other)
Parameter
Returns
public DropInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DropInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DropInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public DropInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DropInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final DropInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides