Send feedback
Class DropInfo.Builder (1.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.7.0 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.cloud.networkmanagement.v1beta1.DropInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ()
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.v1beta1.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.v1beta1.DropInfo.Cause cause = 1;
Returns
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 ()
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.v1beta1.DropInfo.Cause cause = 1;
Parameter
Returns
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.
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
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-28 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-28 UTC."],[],[]]