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

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

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.

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

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.

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