Class NextHopVpcNetwork.Builder (1.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NextHopVpcNetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

build()

public NextHopVpcNetwork build()
Returns
TypeDescription
NextHopVpcNetwork

buildPartial()

public NextHopVpcNetwork buildPartial()
Returns
TypeDescription
NextHopVpcNetwork

clear()

public NextHopVpcNetwork.Builder clear()
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NextHopVpcNetwork.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NextHopVpcNetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

clearUri()

public NextHopVpcNetwork.Builder clearUri()

The URI of the VPC network resource

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

Returns
TypeDescription
NextHopVpcNetwork.Builder

This builder for chaining.

clone()

public NextHopVpcNetwork.Builder clone()
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

getDefaultInstanceForType()

public NextHopVpcNetwork getDefaultInstanceForType()
Returns
TypeDescription
NextHopVpcNetwork

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUri()

public String getUri()

The URI of the VPC network resource

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

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the VPC network resource

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

Returns
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NextHopVpcNetwork other)

public NextHopVpcNetwork.Builder mergeFrom(NextHopVpcNetwork other)
Parameter
NameDescription
otherNextHopVpcNetwork
Returns
TypeDescription
NextHopVpcNetwork.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NextHopVpcNetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NextHopVpcNetwork.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NextHopVpcNetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NextHopVpcNetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

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

public NextHopVpcNetwork.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NextHopVpcNetwork.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NextHopVpcNetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The uri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
NextHopVpcNetwork.Builder

This builder for chaining.