Class DeliverInfo.Builder (1.16.0)

public static final class DeliverInfo.Builder extends GeneratedMessageV3.Builder<DeliverInfo.Builder> implements DeliverInfoOrBuilder

Details of the final state "deliver" and associated resource.

Protobuf type google.cloud.networkmanagement.v1beta1.DeliverInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeliverInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeliverInfo.Builder
Overrides

build()

public DeliverInfo build()
Returns
TypeDescription
DeliverInfo

buildPartial()

public DeliverInfo buildPartial()
Returns
TypeDescription
DeliverInfo

clear()

public DeliverInfo.Builder clear()
Returns
TypeDescription
DeliverInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeliverInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeliverInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeliverInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeliverInfo.Builder
Overrides

clearResourceUri()

public DeliverInfo.Builder clearResourceUri()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
TypeDescription
DeliverInfo.Builder

This builder for chaining.

clearTarget()

public DeliverInfo.Builder clearTarget()

Target type where the packet is delivered to.

.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;

Returns
TypeDescription
DeliverInfo.Builder

This builder for chaining.

clone()

public DeliverInfo.Builder clone()
Returns
TypeDescription
DeliverInfo.Builder
Overrides

getDefaultInstanceForType()

public DeliverInfo getDefaultInstanceForType()
Returns
TypeDescription
DeliverInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResourceUri()

public String getResourceUri()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

getTarget()

public DeliverInfo.Target getTarget()

Target type where the packet is delivered to.

.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;

Returns
TypeDescription
DeliverInfo.Target

The target.

getTargetValue()

public int getTargetValue()

Target type where the packet is delivered to.

.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for target.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeliverInfo other)

public DeliverInfo.Builder mergeFrom(DeliverInfo other)
Parameter
NameDescription
otherDeliverInfo
Returns
TypeDescription
DeliverInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeliverInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeliverInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeliverInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeliverInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeliverInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeliverInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeliverInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeliverInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeliverInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeliverInfo.Builder
Overrides

setResourceUri(String value)

public DeliverInfo.Builder setResourceUri(String value)

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Parameter
NameDescription
valueString

The resourceUri to set.

Returns
TypeDescription
DeliverInfo.Builder

This builder for chaining.

setResourceUriBytes(ByteString value)

public DeliverInfo.Builder setResourceUriBytes(ByteString value)

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Parameter
NameDescription
valueByteString

The bytes for resourceUri to set.

Returns
TypeDescription
DeliverInfo.Builder

This builder for chaining.

setTarget(DeliverInfo.Target value)

public DeliverInfo.Builder setTarget(DeliverInfo.Target value)

Target type where the packet is delivered to.

.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;

Parameter
NameDescription
valueDeliverInfo.Target

The target to set.

Returns
TypeDescription
DeliverInfo.Builder

This builder for chaining.

setTargetValue(int value)

public DeliverInfo.Builder setTargetValue(int value)

Target type where the packet is delivered to.

.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for target to set.

Returns
TypeDescription
DeliverInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeliverInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeliverInfo.Builder
Overrides