Class IndexPrivateEndpoints.Builder (3.37.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.v1beta1.IndexPrivateEndpoints

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.PscAutomatedEndpoints>
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuePscAutomatedEndpoints
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuePscAutomatedEndpoints.Builder
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valuePscAutomatedEndpoints
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValuePscAutomatedEndpoints.Builder
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
PscAutomatedEndpoints.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IndexPrivateEndpoints build()
Returns
TypeDescription
IndexPrivateEndpoints

buildPartial()

public IndexPrivateEndpoints buildPartial()
Returns
TypeDescription
IndexPrivateEndpoints

clear()

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

clearField(Descriptors.FieldDescriptor field)

public IndexPrivateEndpoints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
IndexPrivateEndpoints.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IndexPrivateEndpoints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
TypeDescription
IndexPrivateEndpoints.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public IndexPrivateEndpoints getDefaultInstanceForType()
Returns
TypeDescription
IndexPrivateEndpoints

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.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
TypeDescription
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
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(IndexPrivateEndpoints other)

public IndexPrivateEndpoints.Builder mergeFrom(IndexPrivateEndpoints other)
Parameter
NameDescription
otherIndexPrivateEndpoints
Returns
TypeDescription
IndexPrivateEndpoints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IndexPrivateEndpoints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexPrivateEndpoints.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IndexPrivateEndpoints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The matchGrpcAddress to set.

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

The bytes for matchGrpcAddress to set.

Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valuePscAutomatedEndpoints
Returns
TypeDescription
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.v1beta1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValuePscAutomatedEndpoints.Builder
Returns
TypeDescription
IndexPrivateEndpoints.Builder

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

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

The serviceAttachment to set.

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

The bytes for serviceAttachment to set.

Returns
TypeDescription
IndexPrivateEndpoints.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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