Class NextHopRouterApplianceInstance.Builder (1.54.0)

public static final class NextHopRouterApplianceInstance.Builder extends GeneratedMessageV3.Builder<NextHopRouterApplianceInstance.Builder> implements NextHopRouterApplianceInstanceOrBuilder

A route next hop that leads to a Router appliance instance.

Protobuf type google.cloud.networkconnectivity.v1.NextHopRouterApplianceInstance

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NextHopRouterApplianceInstance build()
Returns
Type Description
NextHopRouterApplianceInstance

buildPartial()

public NextHopRouterApplianceInstance buildPartial()
Returns
Type Description
NextHopRouterApplianceInstance

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSiteToSiteDataTransfer()

public NextHopRouterApplianceInstance.Builder clearSiteToSiteDataTransfer()

Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in supported locations.

bool site_to_site_data_transfer = 3;

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.

clearUri()

public NextHopRouterApplianceInstance.Builder clearUri()

The URI of the Router appliance instance.

string uri = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.

clearVpcNetwork()

public NextHopRouterApplianceInstance.Builder clearVpcNetwork()

The VPC network where this VM is located.

string vpc_network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NextHopRouterApplianceInstance getDefaultInstanceForType()
Returns
Type Description
NextHopRouterApplianceInstance

getDescriptorForType()

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

getSiteToSiteDataTransfer()

public boolean getSiteToSiteDataTransfer()

Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in supported locations.

bool site_to_site_data_transfer = 3;

Returns
Type Description
boolean

The siteToSiteDataTransfer.

getUri()

public String getUri()

The URI of the Router appliance instance.

string uri = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the Router appliance instance.

string uri = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for uri.

getVpcNetwork()

public String getVpcNetwork()

The VPC network where this VM is located.

string vpc_network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vpcNetwork.

getVpcNetworkBytes()

public ByteString getVpcNetworkBytes()

The VPC network where this VM is located.

string vpc_network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vpcNetwork.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NextHopRouterApplianceInstance other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public NextHopRouterApplianceInstance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NextHopRouterApplianceInstance.Builder
Overrides

setSiteToSiteDataTransfer(boolean value)

public NextHopRouterApplianceInstance.Builder setSiteToSiteDataTransfer(boolean value)

Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in supported locations.

bool site_to_site_data_transfer = 3;

Parameter
Name Description
value boolean

The siteToSiteDataTransfer to set.

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public NextHopRouterApplianceInstance.Builder setUri(String value)

The URI of the Router appliance instance.

string uri = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.

setUriBytes(ByteString value)

public NextHopRouterApplianceInstance.Builder setUriBytes(ByteString value)

The URI of the Router appliance instance.

string uri = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.

setVpcNetwork(String value)

public NextHopRouterApplianceInstance.Builder setVpcNetwork(String value)

The VPC network where this VM is located.

string vpc_network = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The vpcNetwork to set.

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.

setVpcNetworkBytes(ByteString value)

public NextHopRouterApplianceInstance.Builder setVpcNetworkBytes(ByteString value)

The VPC network where this VM is located.

string vpc_network = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for vpcNetwork to set.

Returns
Type Description
NextHopRouterApplianceInstance.Builder

This builder for chaining.