Class ExtensionPrivateServiceConnectConfig.Builder (3.50.0)

public static final class ExtensionPrivateServiceConnectConfig.Builder extends GeneratedMessageV3.Builder<ExtensionPrivateServiceConnectConfig.Builder> implements ExtensionPrivateServiceConnectConfigOrBuilder

PrivateExtensionConfig configuration for the extension.

Protobuf type google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExtensionPrivateServiceConnectConfig build()
Returns
Type Description
ExtensionPrivateServiceConnectConfig

buildPartial()

public ExtensionPrivateServiceConnectConfig buildPartial()
Returns
Type Description
ExtensionPrivateServiceConnectConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceDirectory()

public ExtensionPrivateServiceConnectConfig.Builder clearServiceDirectory()

Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}

string service_directory = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExtensionPrivateServiceConnectConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExtensionPrivateServiceConnectConfig getDefaultInstanceForType()
Returns
Type Description
ExtensionPrivateServiceConnectConfig

getDescriptorForType()

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

getServiceDirectory()

public String getServiceDirectory()

Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}

string service_directory = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The serviceDirectory.

getServiceDirectoryBytes()

public ByteString getServiceDirectoryBytes()

Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}

string service_directory = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for serviceDirectory.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExtensionPrivateServiceConnectConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServiceDirectory(String value)

public ExtensionPrivateServiceConnectConfig.Builder setServiceDirectory(String value)

Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}

string service_directory = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The serviceDirectory to set.

Returns
Type Description
ExtensionPrivateServiceConnectConfig.Builder

This builder for chaining.

setServiceDirectoryBytes(ByteString value)

public ExtensionPrivateServiceConnectConfig.Builder setServiceDirectoryBytes(ByteString value)

Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}

string service_directory = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for serviceDirectory to set.

Returns
Type Description
ExtensionPrivateServiceConnectConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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