Class PrivateEndpoints.Builder (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass PrivateEndpoints.BuilderextendsGeneratedMessageV3.Builder<PrivateEndpoints.Builder>implementsPrivateEndpointsOrBuilderPrivateEndpoints 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrivateEndpoints.BuilderImplements
PrivateEndpointsOrBuilderInherited Members
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 |
|
build()
publicPrivateEndpointsbuild()| Returns | |
|---|---|
| Type | Description |
PrivateEndpoints |
|
buildPartial()
publicPrivateEndpointsbuildPartial()| Returns | |
|---|---|
| Type | Description |
PrivateEndpoints |
|
clear()
publicPrivateEndpoints.Builderclear()| Returns | |
|---|---|
| Type | Description |
PrivateEndpoints.Builder |
|
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 |
|
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 |
|
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 |
|
getDefaultInstanceForType()
publicPrivateEndpointsgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PrivateEndpoints |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicPrivateEndpoints.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PrivateEndpoints.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalPrivateEndpoints.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PrivateEndpoints.Builder |
|
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 |
|
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 |
|
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 |
|