Class CreateIndexEndpointRequest.Builder (3.34.0)

public static final class CreateIndexEndpointRequest.Builder extends GeneratedMessageV3.Builder<CreateIndexEndpointRequest.Builder> implements CreateIndexEndpointRequestOrBuilder

Request message for IndexEndpointService.CreateIndexEndpoint.

Protobuf type google.cloud.aiplatform.v1.CreateIndexEndpointRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateIndexEndpointRequest build()
Returns
TypeDescription
CreateIndexEndpointRequest

buildPartial()

public CreateIndexEndpointRequest buildPartial()
Returns
TypeDescription
CreateIndexEndpointRequest

clear()

public CreateIndexEndpointRequest.Builder clear()
Returns
TypeDescription
CreateIndexEndpointRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateIndexEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateIndexEndpointRequest.Builder
Overrides

clearIndexEndpoint()

public CreateIndexEndpointRequest.Builder clearIndexEndpoint()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateIndexEndpointRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateIndexEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateIndexEndpointRequest.Builder
Overrides

clearParent()

public CreateIndexEndpointRequest.Builder clearParent()

Required. The resource name of the Location to create the IndexEndpoint in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateIndexEndpointRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateIndexEndpointRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateIndexEndpointRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndexEndpoint()

public IndexEndpoint getIndexEndpoint()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IndexEndpoint

The indexEndpoint.

getIndexEndpointBuilder()

public IndexEndpoint.Builder getIndexEndpointBuilder()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IndexEndpoint.Builder

getIndexEndpointOrBuilder()

public IndexEndpointOrBuilder getIndexEndpointOrBuilder()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IndexEndpointOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location to create the IndexEndpoint in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create the IndexEndpoint in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasIndexEndpoint()

public boolean hasIndexEndpoint()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the indexEndpoint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateIndexEndpointRequest other)

public CreateIndexEndpointRequest.Builder mergeFrom(CreateIndexEndpointRequest other)
Parameter
NameDescription
otherCreateIndexEndpointRequest
Returns
TypeDescription
CreateIndexEndpointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIndexEndpoint(IndexEndpoint value)

public CreateIndexEndpointRequest.Builder mergeIndexEndpoint(IndexEndpoint value)

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueIndexEndpoint
Returns
TypeDescription
CreateIndexEndpointRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateIndexEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateIndexEndpointRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexEndpoint(IndexEndpoint value)

public CreateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint value)

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueIndexEndpoint
Returns
TypeDescription
CreateIndexEndpointRequest.Builder

setIndexEndpoint(IndexEndpoint.Builder builderForValue)

public CreateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint.Builder builderForValue)

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueIndexEndpoint.Builder
Returns
TypeDescription
CreateIndexEndpointRequest.Builder

setParent(String value)

public CreateIndexEndpointRequest.Builder setParent(String value)

Required. The resource name of the Location to create the IndexEndpoint in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateIndexEndpointRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateIndexEndpointRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the IndexEndpoint in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateIndexEndpointRequest.Builder

This builder for chaining.

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

public CreateIndexEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateIndexEndpointRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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