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

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

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.

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

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.

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