Class PrivateEndpoints.Builder (0.6.0)

publicstaticfinalclass PrivateEndpoints.BuilderextendsGeneratedMessageV3.Builder<PrivateEndpoints.Builder>implementsPrivateEndpointsOrBuilder

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.vertexai.v1.PrivateEndpoints

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicPrivateEndpoints.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateEndpoints.Builder
Overrides

build()

publicPrivateEndpointsbuild()
Returns
Type Description
PrivateEndpoints

buildPartial()

publicPrivateEndpointsbuildPartial()
Returns
Type Description
PrivateEndpoints

clear()

publicPrivateEndpoints.Builderclear()
Returns
Type Description
PrivateEndpoints.Builder
Overrides

clearExplainHttpUri()

publicPrivateEndpoints.BuilderclearExplainHttpUri()

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)

publicPrivateEndpoints.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivateEndpoints.Builder
Overrides

clearHealthHttpUri()

publicPrivateEndpoints.BuilderclearHealthHttpUri()

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)

publicPrivateEndpoints.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivateEndpoints.Builder
Overrides

clearPredictHttpUri()

publicPrivateEndpoints.BuilderclearPredictHttpUri()

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()

publicPrivateEndpoints.BuilderclearServiceAttachment()

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()

publicPrivateEndpoints.Builderclone()
Returns
Type Description
PrivateEndpoints.Builder
Overrides

getDefaultInstanceForType()

publicPrivateEndpointsgetDefaultInstanceForType()
Returns
Type Description
PrivateEndpoints

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExplainHttpUri()

publicStringgetExplainHttpUri()

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()

publicByteStringgetExplainHttpUriBytes()

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()

publicStringgetHealthHttpUri()

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()

publicByteStringgetHealthHttpUriBytes()

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()

publicStringgetPredictHttpUri()

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()

publicByteStringgetPredictHttpUriBytes()

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()

publicStringgetServiceAttachment()

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()

publicByteStringgetServiceAttachmentBytes()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivateEndpoints other)

publicPrivateEndpoints.BuildermergeFrom(PrivateEndpointsother)
Parameter
Name Description
other PrivateEndpoints
Returns
Type Description
PrivateEndpoints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicPrivateEndpoints.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateEndpoints.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicPrivateEndpoints.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
PrivateEndpoints.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalPrivateEndpoints.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateEndpoints.Builder
Overrides

setExplainHttpUri(String value)

publicPrivateEndpoints.BuildersetExplainHttpUri(Stringvalue)

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)

publicPrivateEndpoints.BuildersetExplainHttpUriBytes(ByteStringvalue)

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)

publicPrivateEndpoints.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateEndpoints.Builder
Overrides

setHealthHttpUri(String value)

publicPrivateEndpoints.BuildersetHealthHttpUri(Stringvalue)

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)

publicPrivateEndpoints.BuildersetHealthHttpUriBytes(ByteStringvalue)

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)

publicPrivateEndpoints.BuildersetPredictHttpUri(Stringvalue)

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)

publicPrivateEndpoints.BuildersetPredictHttpUriBytes(ByteStringvalue)

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)

publicPrivateEndpoints.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PrivateEndpoints.Builder
Overrides

setServiceAttachment(String value)

publicPrivateEndpoints.BuildersetServiceAttachment(Stringvalue)

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)

publicPrivateEndpoints.BuildersetServiceAttachmentBytes(ByteStringvalue)

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)

publicfinalPrivateEndpoints.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateEndpoints.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.