Send feedback
Class DropInfo.Builder (0.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.1 keyboard_arrow_down
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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
getCauseValue()
public int getCauseValue ()
Cause that the packet is dropped.
.google.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.DropInfo.Cause cause = 1;
setCauseValue(int value)
public DropInfo . Builder setCauseValue ( int value )
Cause that the packet is dropped.
.google.events.cloud.networkmanagement.v1.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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]