Class NextHopVpcNetwork.Builder (1.82.0)

public static final class NextHopVpcNetwork.Builder extends GeneratedMessage.Builder<NextHopVpcNetwork.Builder> implements NextHopVpcNetworkOrBuilder

Protobuf type google.cloud.networkconnectivity.v1.NextHopVpcNetwork

Static Methods

getDescriptor()

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

Methods

build()

public NextHopVpcNetwork build()
Returns
Type Description
NextHopVpcNetwork

buildPartial()

public NextHopVpcNetwork buildPartial()
Returns
Type Description
NextHopVpcNetwork

clear()

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

clearUri()

public NextHopVpcNetwork.Builder clearUri()

The URI of the VPC network resource

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

Returns
Type Description
NextHopVpcNetwork.Builder

This builder for chaining.

getDefaultInstanceForType()

public NextHopVpcNetwork getDefaultInstanceForType()
Returns
Type Description
NextHopVpcNetwork

getDescriptorForType()

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

getUri()

public String getUri()

The URI of the VPC network resource

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

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the VPC network resource

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

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NextHopVpcNetwork other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setUri(String value)

public NextHopVpcNetwork.Builder setUri(String value)

The URI of the VPC network resource

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

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
NextHopVpcNetwork.Builder

This builder for chaining.

setUriBytes(ByteString value)

public NextHopVpcNetwork.Builder setUriBytes(ByteString value)

The URI of the VPC network resource

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

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
NextHopVpcNetwork.Builder

This builder for chaining.