Class NextHopVpcNetwork.Builder (1.48.0)

public static final class NextHopVpcNetwork.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public NextHopVpcNetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final NextHopVpcNetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.