Class PrivateEndpoints.Builder (3.37.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.v1.PrivateEndpoints

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivateEndpoints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PrivateEndpoints.Builder
Overrides

build()

public PrivateEndpoints build()
Returns
TypeDescription
PrivateEndpoints

buildPartial()

public PrivateEndpoints buildPartial()
Returns
TypeDescription
PrivateEndpoints

clear()

public PrivateEndpoints.Builder clear()
Returns
TypeDescription
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
TypeDescription
PrivateEndpoints.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PrivateEndpoints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
PrivateEndpoints.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateEndpoints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PrivateEndpoints.Builder

This builder for chaining.

clone()

public PrivateEndpoints.Builder clone()
Returns
TypeDescription
PrivateEndpoints.Builder
Overrides

getDefaultInstanceForType()

public PrivateEndpoints getDefaultInstanceForType()
Returns
TypeDescription
PrivateEndpoints

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 = 4 [(.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(PrivateEndpoints other)

public PrivateEndpoints.Builder mergeFrom(PrivateEndpoints other)
Parameter
NameDescription
otherPrivateEndpoints
Returns
TypeDescription
PrivateEndpoints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivateEndpoints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateEndpoints.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PrivateEndpoints.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PrivateEndpoints.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivateEndpoints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The explainHttpUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for explainHttpUri to set.

Returns
TypeDescription
PrivateEndpoints.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PrivateEndpoints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The healthHttpUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for healthHttpUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The predictHttpUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for predictHttpUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceAttachment to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceAttachment to set.

Returns
TypeDescription
PrivateEndpoints.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateEndpoints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivateEndpoints.Builder
Overrides