Class ClientConnectorService.Egress.PeeredVpc.Builder (0.50.0)

public static final class ClientConnectorService.Egress.PeeredVpc.Builder extends GeneratedMessageV3.Builder<ClientConnectorService.Egress.PeeredVpc.Builder> implements ClientConnectorService.Egress.PeeredVpcOrBuilder

The peered VPC owned by the consumer project.

Protobuf type google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpc

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientConnectorService.Egress.PeeredVpc build()
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc

buildPartial()

public ClientConnectorService.Egress.PeeredVpc buildPartial()
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc

clear()

public ClientConnectorService.Egress.PeeredVpc.Builder clear()
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ClientConnectorService.Egress.PeeredVpc.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

clearNetworkVpc()

public ClientConnectorService.Egress.PeeredVpc.Builder clearNetworkVpc()

Required. The name of the peered VPC owned by the consumer project.

string network_vpc = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientConnectorService.Egress.PeeredVpc.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

clone()

public ClientConnectorService.Egress.PeeredVpc.Builder clone()
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

getDefaultInstanceForType()

public ClientConnectorService.Egress.PeeredVpc getDefaultInstanceForType()
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc

getDescriptorForType()

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

getNetworkVpc()

public String getNetworkVpc()

Required. The name of the peered VPC owned by the consumer project.

string network_vpc = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The networkVpc.

getNetworkVpcBytes()

public ByteString getNetworkVpcBytes()

Required. The name of the peered VPC owned by the consumer project.

string network_vpc = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for networkVpc.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClientConnectorService.Egress.PeeredVpc other)

public ClientConnectorService.Egress.PeeredVpc.Builder mergeFrom(ClientConnectorService.Egress.PeeredVpc other)
Parameter
Name Description
other ClientConnectorService.Egress.PeeredVpc
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ClientConnectorService.Egress.PeeredVpc.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Egress.PeeredVpc.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkVpc(String value)

public ClientConnectorService.Egress.PeeredVpc.Builder setNetworkVpc(String value)

Required. The name of the peered VPC owned by the consumer project.

string network_vpc = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The networkVpc to set.

Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder

This builder for chaining.

setNetworkVpcBytes(ByteString value)

public ClientConnectorService.Egress.PeeredVpc.Builder setNetworkVpcBytes(ByteString value)

Required. The name of the peered VPC owned by the consumer project.

string network_vpc = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for networkVpc to set.

Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Egress.PeeredVpc.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides