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
Methods
public IndexPrivateEndpoints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IndexPrivateEndpoints build()
Returns
public IndexPrivateEndpoints buildPartial()
Returns
public IndexPrivateEndpoints.Builder clear()
Returns
Overrides
public IndexPrivateEndpoints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public IndexPrivateEndpoints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public IndexPrivateEndpoints.Builder clone()
Returns
Overrides
public IndexPrivateEndpoints getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public IndexPrivateEndpoints.Builder mergeFrom(IndexPrivateEndpoints other)
Parameter
Returns
public IndexPrivateEndpoints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public IndexPrivateEndpoints.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final IndexPrivateEndpoints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IndexPrivateEndpoints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public IndexPrivateEndpoints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
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
public final IndexPrivateEndpoints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides