Class DeployedIndexReference.Builder (0.40.0)

public static final class DeployedIndexReference.Builder extends GeneratedMessage.Builder<DeployedIndexReference.Builder> implements DeployedIndexReferenceOrBuilder

Points to a DeployedIndex.

Protobuf type google.cloud.visionai.v1.DeployedIndexReference

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeployedIndexReference build()
Returns
Type Description
DeployedIndexReference

buildPartial()

public DeployedIndexReference buildPartial()
Returns
Type Description
DeployedIndexReference

clear()

public DeployedIndexReference.Builder clear()
Returns
Type Description
DeployedIndexReference.Builder
Overrides

clearIndexEndpoint()

public DeployedIndexReference.Builder clearIndexEndpoint()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployedIndexReference.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeployedIndexReference getDefaultInstanceForType()
Returns
Type Description
DeployedIndexReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIndexEndpoint()

public String getIndexEndpoint()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The indexEndpoint.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for indexEndpoint.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployedIndexReference other)

public DeployedIndexReference.Builder mergeFrom(DeployedIndexReference other)
Parameter
Name Description
other DeployedIndexReference
Returns
Type Description
DeployedIndexReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployedIndexReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedIndexReference.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeployedIndexReference.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeployedIndexReference.Builder
Overrides

setIndexEndpoint(String value)

public DeployedIndexReference.Builder setIndexEndpoint(String value)

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The indexEndpoint to set.

Returns
Type Description
DeployedIndexReference.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public DeployedIndexReference.Builder setIndexEndpointBytes(ByteString value)

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for indexEndpoint to set.

Returns
Type Description
DeployedIndexReference.Builder

This builder for chaining.