Class DeliverInfo.Builder (1.49.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.v1.DeliverInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeliverInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeliverInfo.Builder
Overrides

build()

public DeliverInfo build()
Returns
Type Description
DeliverInfo

buildPartial()

public DeliverInfo buildPartial()
Returns
Type Description
DeliverInfo

clear()

public DeliverInfo.Builder clear()
Returns
Type Description
DeliverInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeliverInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeliverInfo.Builder
Overrides

clearIpAddress()

public DeliverInfo.Builder clearIpAddress()

IP address of the target (if applicable).

string ip_address = 3 [(.google.api.field_info) = { ... }

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeliverInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeliverInfo.Builder
Overrides

clearResourceUri()

public DeliverInfo.Builder clearResourceUri()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

clearTarget()

public DeliverInfo.Builder clearTarget()

Target type where the packet is delivered to.

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

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

clone()

public DeliverInfo.Builder clone()
Returns
Type Description
DeliverInfo.Builder
Overrides

getDefaultInstanceForType()

public DeliverInfo getDefaultInstanceForType()
Returns
Type Description
DeliverInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIpAddress()

public String getIpAddress()

IP address of the target (if applicable).

string ip_address = 3 [(.google.api.field_info) = { ... }

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

IP address of the target (if applicable).

string ip_address = 3 [(.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ipAddress.

getResourceUri()

public String getResourceUri()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
Type Description
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that the packet is delivered to.

string resource_uri = 2;

Returns
Type Description
ByteString

The bytes for resourceUri.

getTarget()

public DeliverInfo.Target getTarget()

Target type where the packet is delivered to.

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

Returns
Type Description
DeliverInfo.Target

The target.

getTargetValue()

public int getTargetValue()

Target type where the packet is delivered to.

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

Returns
Type Description
int

The enum numeric value on the wire for target.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeliverInfo other)

public DeliverInfo.Builder mergeFrom(DeliverInfo other)
Parameter
Name Description
other DeliverInfo
Returns
Type Description
DeliverInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeliverInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliverInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeliverInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeliverInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeliverInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeliverInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeliverInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeliverInfo.Builder
Overrides

setIpAddress(String value)

public DeliverInfo.Builder setIpAddress(String value)

IP address of the target (if applicable).

string ip_address = 3 [(.google.api.field_info) = { ... }

Parameter
Name Description
value String

The ipAddress to set.

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

setIpAddressBytes(ByteString value)

public DeliverInfo.Builder setIpAddressBytes(ByteString value)

IP address of the target (if applicable).

string ip_address = 3 [(.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for ipAddress to set.

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

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

public DeliverInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The resourceUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for resourceUri to set.

Returns
Type Description
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.v1.DeliverInfo.Target target = 1;

Parameter
Name Description
value DeliverInfo.Target

The target to set.

Returns
Type Description
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.v1.DeliverInfo.Target target = 1;

Parameter
Name Description
value int

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

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeliverInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeliverInfo.Builder
Overrides