Class DeliverInfo.Builder (1.84.0)

public static final class DeliverInfo.Builder extends GeneratedMessage.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
Type Description
Descriptor

Methods

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

clearGoogleServiceType()

public DeliverInfo.Builder clearGoogleServiceType()

Recognized type of a Google Service the packet is delivered to (if applicable).

.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

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.

clearPscGoogleApiTarget()

public DeliverInfo.Builder clearPscGoogleApiTarget()

PSC Google API target the packet is delivered to (if applicable).

string psc_google_api_target = 5;

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

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.

clearStorageBucket()

public DeliverInfo.Builder clearStorageBucket()

Name of the Cloud Storage Bucket the packet is delivered to (if applicable).

string storage_bucket = 4;

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.v1beta1.DeliverInfo.Target target = 1;

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeliverInfo getDefaultInstanceForType()
Returns
Type Description
DeliverInfo

getDescriptorForType()

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

getGoogleServiceType()

public DeliverInfo.GoogleServiceType getGoogleServiceType()

Recognized type of a Google Service the packet is delivered to (if applicable).

.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;

Returns
Type Description
DeliverInfo.GoogleServiceType

The googleServiceType.

getGoogleServiceTypeValue()

public int getGoogleServiceTypeValue()

Recognized type of a Google Service the packet is delivered to (if applicable).

.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;

Returns
Type Description
int

The enum numeric value on the wire for googleServiceType.

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.

getPscGoogleApiTarget()

public String getPscGoogleApiTarget()

PSC Google API target the packet is delivered to (if applicable).

string psc_google_api_target = 5;

Returns
Type Description
String

The pscGoogleApiTarget.

getPscGoogleApiTargetBytes()

public ByteString getPscGoogleApiTargetBytes()

PSC Google API target the packet is delivered to (if applicable).

string psc_google_api_target = 5;

Returns
Type Description
ByteString

The bytes for pscGoogleApiTarget.

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.

getStorageBucket()

public String getStorageBucket()

Name of the Cloud Storage Bucket the packet is delivered to (if applicable).

string storage_bucket = 4;

Returns
Type Description
String

The storageBucket.

getStorageBucketBytes()

public ByteString getStorageBucketBytes()

Name of the Cloud Storage Bucket the packet is delivered to (if applicable).

string storage_bucket = 4;

Returns
Type Description
ByteString

The bytes for storageBucket.

getTarget()

public DeliverInfo.Target getTarget()

Target type where the packet is delivered to.

.google.cloud.networkmanagement.v1beta1.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.v1beta1.DeliverInfo.Target target = 1;

Returns
Type Description
int

The enum numeric value on the wire for target.

internalGetFieldAccessorTable()

protected GeneratedMessage.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

setGoogleServiceType(DeliverInfo.GoogleServiceType value)

public DeliverInfo.Builder setGoogleServiceType(DeliverInfo.GoogleServiceType value)

Recognized type of a Google Service the packet is delivered to (if applicable).

.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;

Parameter
Name Description
value DeliverInfo.GoogleServiceType

The googleServiceType to set.

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

setGoogleServiceTypeValue(int value)

public DeliverInfo.Builder setGoogleServiceTypeValue(int value)

Recognized type of a Google Service the packet is delivered to (if applicable).

.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;

Parameter
Name Description
value int

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

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

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.

setPscGoogleApiTarget(String value)

public DeliverInfo.Builder setPscGoogleApiTarget(String value)

PSC Google API target the packet is delivered to (if applicable).

string psc_google_api_target = 5;

Parameter
Name Description
value String

The pscGoogleApiTarget to set.

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

setPscGoogleApiTargetBytes(ByteString value)

public DeliverInfo.Builder setPscGoogleApiTargetBytes(ByteString value)

PSC Google API target the packet is delivered to (if applicable).

string psc_google_api_target = 5;

Parameter
Name Description
value ByteString

The bytes for pscGoogleApiTarget to set.

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

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.

setStorageBucket(String value)

public DeliverInfo.Builder setStorageBucket(String value)

Name of the Cloud Storage Bucket the packet is delivered to (if applicable).

string storage_bucket = 4;

Parameter
Name Description
value String

The storageBucket to set.

Returns
Type Description
DeliverInfo.Builder

This builder for chaining.

setStorageBucketBytes(ByteString value)

public DeliverInfo.Builder setStorageBucketBytes(ByteString value)

Name of the Cloud Storage Bucket the packet is delivered to (if applicable).

string storage_bucket = 4;

Parameter
Name Description
value ByteString

The bytes for storageBucket 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.v1beta1.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.v1beta1.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.