Class ExtensionPrivateServiceConnectConfig.Builder (3.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExtensionPrivateServiceConnectConfig build()
Returns
TypeDescription
ExtensionPrivateServiceConnectConfig

buildPartial()

public ExtensionPrivateServiceConnectConfig buildPartial()
Returns
TypeDescription
ExtensionPrivateServiceConnectConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ExtensionPrivateServiceConnectConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExtensionPrivateServiceConnectConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExtensionPrivateServiceConnectConfig getDefaultInstanceForType()
Returns
TypeDescription
ExtensionPrivateServiceConnectConfig

getDescriptorForType()

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

The bytes for serviceDirectory.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExtensionPrivateServiceConnectConfig other)

public ExtensionPrivateServiceConnectConfig.Builder mergeFrom(ExtensionPrivateServiceConnectConfig other)
Parameter
NameDescription
otherExtensionPrivateServiceConnectConfig
Returns
TypeDescription
ExtensionPrivateServiceConnectConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ExtensionPrivateServiceConnectConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceDirectory to set.

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

The bytes for serviceDirectory to set.

Returns
TypeDescription
ExtensionPrivateServiceConnectConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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