Class GetIndexEndpointRequest.Builder (0.5.0)

public static final class GetIndexEndpointRequest.Builder extends GeneratedMessageV3.Builder<GetIndexEndpointRequest.Builder> implements GetIndexEndpointRequestOrBuilder

Request message for GetIndexEndpoint.

Protobuf type google.cloud.visionai.v1.GetIndexEndpointRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetIndexEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides

build()

public GetIndexEndpointRequest build()
Returns
Type Description
GetIndexEndpointRequest

buildPartial()

public GetIndexEndpointRequest buildPartial()
Returns
Type Description
GetIndexEndpointRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetIndexEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides

clearName()

public GetIndexEndpointRequest.Builder clearName()

Required. Name of the IndexEndpoint resource.

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

Returns
Type Description
GetIndexEndpointRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetIndexEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides

clone()

public GetIndexEndpointRequest.Builder clone()
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides

getDefaultInstanceForType()

public GetIndexEndpointRequest getDefaultInstanceForType()
Returns
Type Description
GetIndexEndpointRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the IndexEndpoint resource.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the IndexEndpoint resource.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetIndexEndpointRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetIndexEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetIndexEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides

setName(String value)

public GetIndexEndpointRequest.Builder setName(String value)

Required. Name of the IndexEndpoint resource.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetIndexEndpointRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetIndexEndpointRequest.Builder setNameBytes(ByteString value)

Required. Name of the IndexEndpoint resource.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetIndexEndpointRequest.Builder

This builder for chaining.

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

public GetIndexEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetIndexEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetIndexEndpointRequest.Builder
Overrides