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.v1beta1.DropInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DropInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public DropInfo buildPartial()
clear()
public DropInfo.Builder clear()
Overrides
clearCause()
public DropInfo.Builder clearCause()
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;
clearField(Descriptors.FieldDescriptor field)
public DropInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DropInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResourceUri()
public DropInfo.Builder clearResourceUri()
URI of the resource that caused the drop.
string resource_uri = 2;
clone()
public DropInfo.Builder clone()
Overrides
getCause()
public DropInfo.Cause getCause()
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;
getCauseValue()
public int getCauseValue()
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for cause.
|
getDefaultInstanceForType()
public DropInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DropInfo other)
public DropInfo.Builder mergeFrom(DropInfo other)
public DropInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DropInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DropInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCause(DropInfo.Cause value)
public DropInfo.Builder setCause(DropInfo.Cause value)
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;
setCauseValue(int value)
public DropInfo.Builder setCauseValue(int value)
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for cause to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DropInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DropInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DropInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides