Class PrivateConnectivity.Builder (2.54.0)

public static final class PrivateConnectivity.Builder extends GeneratedMessageV3.Builder<PrivateConnectivity.Builder> implements PrivateConnectivityOrBuilder

Private Connectivity.

Protobuf type google.cloud.clouddms.v1.PrivateConnectivity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivateConnectivity build()
Returns
Type Description
PrivateConnectivity

buildPartial()

public PrivateConnectivity buildPartial()
Returns
Type Description
PrivateConnectivity

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivateConnectivity.Builder
Overrides

clearPrivateConnection()

public PrivateConnectivity.Builder clearPrivateConnection()

Required. The resource name (URI) of the private connection.

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

Returns
Type Description
PrivateConnectivity.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PrivateConnectivity getDefaultInstanceForType()
Returns
Type Description
PrivateConnectivity

getDescriptorForType()

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

getPrivateConnection()

public String getPrivateConnection()

Required. The resource name (URI) of the private connection.

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

Returns
Type Description
String

The privateConnection.

getPrivateConnectionBytes()

public ByteString getPrivateConnectionBytes()

Required. The resource name (URI) of the private connection.

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

Returns
Type Description
ByteString

The bytes for privateConnection.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivateConnectivity other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrivateConnection(String value)

public PrivateConnectivity.Builder setPrivateConnection(String value)

Required. The resource name (URI) of the private connection.

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

Parameter
Name Description
value String

The privateConnection to set.

Returns
Type Description
PrivateConnectivity.Builder

This builder for chaining.

setPrivateConnectionBytes(ByteString value)

public PrivateConnectivity.Builder setPrivateConnectionBytes(ByteString value)

Required. The resource name (URI) of the private connection.

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

Parameter
Name Description
value ByteString

The bytes for privateConnection to set.

Returns
Type Description
PrivateConnectivity.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateConnectivity.Builder
Overrides