Class CreateEndpointRequest.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass CreateEndpointRequest.BuilderextendsGeneratedMessageV3.Builder<CreateEndpointRequest.Builder>implementsCreateEndpointRequestOrBuilderRequest message for EndpointService.CreateEndpoint.
Protobuf type google.cloud.vertexai.v1beta1.CreateEndpointRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateEndpointRequest.BuilderImplements
CreateEndpointRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicCreateEndpointRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
build()
publicCreateEndpointRequestbuild()| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest |
|
buildPartial()
publicCreateEndpointRequestbuildPartial()| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest |
|
clear()
publicCreateEndpointRequest.Builderclear()| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
clearEndpoint()
publicCreateEndpointRequest.BuilderclearEndpoint()Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
clearEndpointId()
publicCreateEndpointRequest.BuilderclearEndpointId()Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9] with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345. This is the
fallback for fields that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicCreateEndpointRequest.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicCreateEndpointRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
clearParent()
publicCreateEndpointRequest.BuilderclearParent() Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
This builder for chaining. |
clone()
publicCreateEndpointRequest.Builderclone()| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
getDefaultInstanceForType()
publicCreateEndpointRequestgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndpoint()
publicEndpointgetEndpoint()Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Endpoint |
The endpoint. |
getEndpointBuilder()
publicEndpoint.BuildergetEndpointBuilder()Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
getEndpointId()
publicStringgetEndpointId()Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9] with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345. This is the
fallback for fields that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The endpointId. |
getEndpointIdBytes()
publicByteStringgetEndpointIdBytes()Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9] with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345. This is the
fallback for fields that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for endpointId. |
getEndpointOrBuilder()
publicEndpointOrBuildergetEndpointOrBuilder()Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EndpointOrBuilder |
|
getParent()
publicStringgetParent() Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
publicByteStringgetParentBytes() Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasEndpoint()
publicbooleanhasEndpoint()Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endpoint field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndpoint(Endpoint value)
publicCreateEndpointRequest.BuildermergeEndpoint(Endpointvalue)Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Endpoint |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
mergeFrom(CreateEndpointRequest other)
publicCreateEndpointRequest.BuildermergeFrom(CreateEndpointRequestother)| Parameter | |
|---|---|
| Name | Description |
other |
CreateEndpointRequest |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicCreateEndpointRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicCreateEndpointRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateEndpointRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
setEndpoint(Endpoint value)
publicCreateEndpointRequest.BuildersetEndpoint(Endpointvalue)Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Endpoint |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
setEndpoint(Endpoint.Builder builderForValue)
publicCreateEndpointRequest.BuildersetEndpoint(Endpoint.BuilderbuilderForValue)Required. The Endpoint to create.
.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Endpoint.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
setEndpointId(String value)
publicCreateEndpointRequest.BuildersetEndpointId(Stringvalue)Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9] with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345. This is the
fallback for fields that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
String The endpointId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
This builder for chaining. |
setEndpointIdBytes(ByteString value)
publicCreateEndpointRequest.BuildersetEndpointIdBytes(ByteStringvalue)Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9] with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345. This is the
fallback for fields that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for endpointId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicCreateEndpointRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
setParent(String value)
publicCreateEndpointRequest.BuildersetParent(Stringvalue) Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
publicCreateEndpointRequest.BuildersetParentBytes(ByteStringvalue) Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicCreateEndpointRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateEndpointRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateEndpointRequest.Builder |
|