Class PrivateEndpoints.Builder (3.49.0)

public static final class PrivateEndpoints.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivateEndpoints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateEndpoints.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public PrivateEndpoints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivateEndpoints.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateEndpoints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivateEndpoints.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivateEndpoints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public PrivateEndpoints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateEndpoints.Builder
Overrides

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.

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

public PrivateEndpoints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PrivateEndpoints.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateEndpoints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateEndpoints.Builder
Overrides