Class ClientConnectorService.Egress.PeeredVpc.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientConnectorService.Egress.PeeredVpc build()
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc

buildPartial()

public ClientConnectorService.Egress.PeeredVpc buildPartial()
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc

clear()

public ClientConnectorService.Egress.PeeredVpc.Builder clear()
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ClientConnectorService.Egress.PeeredVpc.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientConnectorService.Egress.PeeredVpc.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

clone()

public ClientConnectorService.Egress.PeeredVpc.Builder clone()
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

getDefaultInstanceForType()

public ClientConnectorService.Egress.PeeredVpc getDefaultInstanceForType()
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for networkVpc.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ClientConnectorService.Egress.PeeredVpc other)

public ClientConnectorService.Egress.PeeredVpc.Builder mergeFrom(ClientConnectorService.Egress.PeeredVpc other)
Parameter
NameDescription
otherClientConnectorService.Egress.PeeredVpc
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ClientConnectorService.Egress.PeeredVpc.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Egress.PeeredVpc.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ClientConnectorService.Egress.PeeredVpc.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The networkVpc to set.

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

The bytes for networkVpc to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Egress.PeeredVpc.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientConnectorService.Egress.PeeredVpc.Builder
Overrides