Class PrivateEndpoints.Builder (3.84.0)

public static final class PrivateEndpoints.Builder extends GeneratedMessage.Builder<PrivateEndpoints.Builder> implements PrivateEndpointsOrBuilder

PrivateEndpoints proto is used to provide paths for users to send requests privately. To send request via private service access, use predict_http_uri, explain_http_uri or health_http_uri. To send request via private service connect, use service_attachment.

Protobuf type google.cloud.aiplatform.v1beta1.PrivateEndpoints

Static Methods

getDescriptor()

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

Methods

build()

public PrivateEndpoints build()
Returns
Type Description
PrivateEndpoints

buildPartial()

public PrivateEndpoints buildPartial()
Returns
Type Description
PrivateEndpoints

clear()

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

clearExplainHttpUri()

public PrivateEndpoints.Builder clearExplainHttpUri()

Output only. Http(s) path to send explain requests.

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

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

clearHealthHttpUri()

public PrivateEndpoints.Builder clearHealthHttpUri()

Output only. Http(s) path to send health check requests.

string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

clearPredictHttpUri()

public PrivateEndpoints.Builder clearPredictHttpUri()

Output only. Http(s) path to send prediction requests.

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

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

clearServiceAttachment()

public PrivateEndpoints.Builder clearServiceAttachment()

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

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

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

getDefaultInstanceForType()

public PrivateEndpoints getDefaultInstanceForType()
Returns
Type Description
PrivateEndpoints

getDescriptorForType()

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

getExplainHttpUri()

public String getExplainHttpUri()

Output only. Http(s) path to send explain requests.

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

Returns
Type Description
String

The explainHttpUri.

getExplainHttpUriBytes()

public ByteString getExplainHttpUriBytes()

Output only. Http(s) path to send explain requests.

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

Returns
Type Description
ByteString

The bytes for explainHttpUri.

getHealthHttpUri()

public String getHealthHttpUri()

Output only. Http(s) path to send health check requests.

string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The healthHttpUri.

getHealthHttpUriBytes()

public ByteString getHealthHttpUriBytes()

Output only. Http(s) path to send health check requests.

string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for healthHttpUri.

getPredictHttpUri()

public String getPredictHttpUri()

Output only. Http(s) path to send prediction requests.

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

Returns
Type Description
String

The predictHttpUri.

getPredictHttpUriBytes()

public ByteString getPredictHttpUriBytes()

Output only. Http(s) path to send prediction requests.

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

Returns
Type Description
ByteString

The bytes for predictHttpUri.

getServiceAttachment()

public String getServiceAttachment()

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

string service_attachment = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAttachment.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivateEndpoints other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExplainHttpUri(String value)

public PrivateEndpoints.Builder setExplainHttpUri(String value)

Output only. Http(s) path to send explain requests.

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

Parameter
Name Description
value String

The explainHttpUri to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

setExplainHttpUriBytes(ByteString value)

public PrivateEndpoints.Builder setExplainHttpUriBytes(ByteString value)

Output only. Http(s) path to send explain requests.

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

Parameter
Name Description
value ByteString

The bytes for explainHttpUri to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

setHealthHttpUri(String value)

public PrivateEndpoints.Builder setHealthHttpUri(String value)

Output only. Http(s) path to send health check requests.

string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The healthHttpUri to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

setHealthHttpUriBytes(ByteString value)

public PrivateEndpoints.Builder setHealthHttpUriBytes(ByteString value)

Output only. Http(s) path to send health check requests.

string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for healthHttpUri to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

setPredictHttpUri(String value)

public PrivateEndpoints.Builder setPredictHttpUri(String value)

Output only. Http(s) path to send prediction requests.

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

Parameter
Name Description
value String

The predictHttpUri to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

setPredictHttpUriBytes(ByteString value)

public PrivateEndpoints.Builder setPredictHttpUriBytes(ByteString value)

Output only. Http(s) path to send prediction requests.

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

Parameter
Name Description
value ByteString

The bytes for predictHttpUri to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

setServiceAttachment(String value)

public PrivateEndpoints.Builder setServiceAttachment(String value)

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

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

Parameter
Name Description
value String

The serviceAttachment to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.

setServiceAttachmentBytes(ByteString value)

public PrivateEndpoints.Builder setServiceAttachmentBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for serviceAttachment to set.

Returns
Type Description
PrivateEndpoints.Builder

This builder for chaining.