Class PrivateServiceConnectConnectivity.Builder (2.27.0)

public static final class PrivateServiceConnectConnectivity.Builder extends GeneratedMessageV3.Builder<PrivateServiceConnectConnectivity.Builder> implements PrivateServiceConnectConnectivityOrBuilder

Private Service Connect connectivity

Protobuf type google.cloud.clouddms.v1.PrivateServiceConnectConnectivity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivateServiceConnectConnectivity build()
Returns
TypeDescription
PrivateServiceConnectConnectivity

buildPartial()

public PrivateServiceConnectConnectivity buildPartial()
Returns
TypeDescription
PrivateServiceConnectConnectivity

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAttachment()

public PrivateServiceConnectConnectivity.Builder clearServiceAttachment()

Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

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

Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PrivateServiceConnectConnectivity getDefaultInstanceForType()
Returns
TypeDescription
PrivateServiceConnectConnectivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getServiceAttachment()

public String getServiceAttachment()

Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

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

Returns
TypeDescription
String

The serviceAttachment.

getServiceAttachmentBytes()

public ByteString getServiceAttachmentBytes()

Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

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

Returns
TypeDescription
ByteString

The bytes for serviceAttachment.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PrivateServiceConnectConnectivity other)

public PrivateServiceConnectConnectivity.Builder mergeFrom(PrivateServiceConnectConnectivity other)
Parameter
NameDescription
otherPrivateServiceConnectConnectivity
Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServiceAttachment(String value)

public PrivateServiceConnectConnectivity.Builder setServiceAttachment(String value)

Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

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

Parameter
NameDescription
valueString

The serviceAttachment to set.

Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder

This builder for chaining.

setServiceAttachmentBytes(ByteString value)

public PrivateServiceConnectConnectivity.Builder setServiceAttachmentBytes(ByteString value)

Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

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

Parameter
NameDescription
valueByteString

The bytes for serviceAttachment to set.

Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateServiceConnectConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder
Overrides