Class IndexPrivateEndpoints.Builder (3.44.0)

public static final class IndexPrivateEndpoints.Builder extends GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder> implements IndexPrivateEndpointsOrBuilder

IndexPrivateEndpoints proto is used to provide paths for users to send requests via private endpoints (e.g. private service access, private service connect). To send request via private service access, use match_grpc_address. To send request via private service connect, use service_attachment.

Protobuf type google.cloud.aiplatform.v1.IndexPrivateEndpoints

Static Methods

getDescriptor()

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

Methods

addAllPscAutomatedEndpoints(Iterable<? extends PscAutomatedEndpoints> values)

public IndexPrivateEndpoints.Builder addAllPscAutomatedEndpoints(Iterable<? extends PscAutomatedEndpoints> values)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.PscAutomatedEndpoints>
Returns
Type Description
IndexPrivateEndpoints.Builder

addPscAutomatedEndpoints(PscAutomatedEndpoints value)

public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(PscAutomatedEndpoints value)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PscAutomatedEndpoints
Returns
Type Description
IndexPrivateEndpoints.Builder

addPscAutomatedEndpoints(PscAutomatedEndpoints.Builder builderForValue)

public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(PscAutomatedEndpoints.Builder builderForValue)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue PscAutomatedEndpoints.Builder
Returns
Type Description
IndexPrivateEndpoints.Builder

addPscAutomatedEndpoints(int index, PscAutomatedEndpoints value)

public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(int index, PscAutomatedEndpoints value)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value PscAutomatedEndpoints
Returns
Type Description
IndexPrivateEndpoints.Builder

addPscAutomatedEndpoints(int index, PscAutomatedEndpoints.Builder builderForValue)

public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(int index, PscAutomatedEndpoints.Builder builderForValue)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue PscAutomatedEndpoints.Builder
Returns
Type Description
IndexPrivateEndpoints.Builder

addPscAutomatedEndpointsBuilder()

public PscAutomatedEndpoints.Builder addPscAutomatedEndpointsBuilder()

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PscAutomatedEndpoints.Builder

addPscAutomatedEndpointsBuilder(int index)

public PscAutomatedEndpoints.Builder addPscAutomatedEndpointsBuilder(int index)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PscAutomatedEndpoints.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IndexPrivateEndpoints build()
Returns
Type Description
IndexPrivateEndpoints

buildPartial()

public IndexPrivateEndpoints buildPartial()
Returns
Type Description
IndexPrivateEndpoints

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMatchGrpcAddress()

public IndexPrivateEndpoints.Builder clearMatchGrpcAddress()

Output only. The ip address used to send match gRPC requests.

string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IndexPrivateEndpoints.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPscAutomatedEndpoints()

public IndexPrivateEndpoints.Builder clearPscAutomatedEndpoints()

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IndexPrivateEndpoints.Builder

clearServiceAttachment()

public IndexPrivateEndpoints.Builder clearServiceAttachment()

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IndexPrivateEndpoints.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public IndexPrivateEndpoints getDefaultInstanceForType()
Returns
Type Description
IndexPrivateEndpoints

getDescriptorForType()

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

getMatchGrpcAddress()

public String getMatchGrpcAddress()

Output only. The ip address used to send match gRPC requests.

string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The matchGrpcAddress.

getMatchGrpcAddressBytes()

public ByteString getMatchGrpcAddressBytes()

Output only. The ip address used to send match gRPC requests.

string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for matchGrpcAddress.

getPscAutomatedEndpoints(int index)

public PscAutomatedEndpoints getPscAutomatedEndpoints(int index)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PscAutomatedEndpoints

getPscAutomatedEndpointsBuilder(int index)

public PscAutomatedEndpoints.Builder getPscAutomatedEndpointsBuilder(int index)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PscAutomatedEndpoints.Builder

getPscAutomatedEndpointsBuilderList()

public List<PscAutomatedEndpoints.Builder> getPscAutomatedEndpointsBuilderList()

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getPscAutomatedEndpointsCount()

public int getPscAutomatedEndpointsCount()

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPscAutomatedEndpointsList()

public List<PscAutomatedEndpoints> getPscAutomatedEndpointsList()

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<PscAutomatedEndpoints>

getPscAutomatedEndpointsOrBuilder(int index)

public PscAutomatedEndpointsOrBuilder getPscAutomatedEndpointsOrBuilder(int index)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PscAutomatedEndpointsOrBuilder

getPscAutomatedEndpointsOrBuilderList()

public List<? extends PscAutomatedEndpointsOrBuilder> getPscAutomatedEndpointsOrBuilderList()

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.PscAutomatedEndpointsOrBuilder>

getServiceAttachment()

public String getServiceAttachment()

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceAttachment.

getServiceAttachmentBytes()

public ByteString getServiceAttachmentBytes()

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAttachment.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IndexPrivateEndpoints other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePscAutomatedEndpoints(int index)

public IndexPrivateEndpoints.Builder removePscAutomatedEndpoints(int index)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IndexPrivateEndpoints.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMatchGrpcAddress(String value)

public IndexPrivateEndpoints.Builder setMatchGrpcAddress(String value)

Output only. The ip address used to send match gRPC requests.

string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The matchGrpcAddress to set.

Returns
Type Description
IndexPrivateEndpoints.Builder

This builder for chaining.

setMatchGrpcAddressBytes(ByteString value)

public IndexPrivateEndpoints.Builder setMatchGrpcAddressBytes(ByteString value)

Output only. The ip address used to send match gRPC requests.

string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for matchGrpcAddress to set.

Returns
Type Description
IndexPrivateEndpoints.Builder

This builder for chaining.

setPscAutomatedEndpoints(int index, PscAutomatedEndpoints value)

public IndexPrivateEndpoints.Builder setPscAutomatedEndpoints(int index, PscAutomatedEndpoints value)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value PscAutomatedEndpoints
Returns
Type Description
IndexPrivateEndpoints.Builder

setPscAutomatedEndpoints(int index, PscAutomatedEndpoints.Builder builderForValue)

public IndexPrivateEndpoints.Builder setPscAutomatedEndpoints(int index, PscAutomatedEndpoints.Builder builderForValue)

Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.

repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue PscAutomatedEndpoints.Builder
Returns
Type Description
IndexPrivateEndpoints.Builder

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

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

setServiceAttachment(String value)

public IndexPrivateEndpoints.Builder setServiceAttachment(String value)

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The serviceAttachment to set.

Returns
Type Description
IndexPrivateEndpoints.Builder

This builder for chaining.

setServiceAttachmentBytes(ByteString value)

public IndexPrivateEndpoints.Builder setServiceAttachmentBytes(ByteString value)

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for serviceAttachment to set.

Returns
Type Description
IndexPrivateEndpoints.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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