Class ListInstructionsResponse.Builder (0.149.0)

public static final class ListInstructionsResponse.Builder extends GeneratedMessageV3.Builder<ListInstructionsResponse.Builder> implements ListInstructionsResponseOrBuilder

Results of listing instructions under a project.

Protobuf type google.cloud.datalabeling.v1beta1.ListInstructionsResponse

Static Methods

getDescriptor()

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

Methods

addAllInstructions(Iterable<? extends Instruction> values)

public ListInstructionsResponse.Builder addAllInstructions(Iterable<? extends Instruction> values)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.Instruction>
Returns
TypeDescription
ListInstructionsResponse.Builder

addInstructions(Instruction value)

public ListInstructionsResponse.Builder addInstructions(Instruction value)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
valueInstruction
Returns
TypeDescription
ListInstructionsResponse.Builder

addInstructions(Instruction.Builder builderForValue)

public ListInstructionsResponse.Builder addInstructions(Instruction.Builder builderForValue)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
builderForValueInstruction.Builder
Returns
TypeDescription
ListInstructionsResponse.Builder

addInstructions(int index, Instruction value)

public ListInstructionsResponse.Builder addInstructions(int index, Instruction value)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameters
NameDescription
indexint
valueInstruction
Returns
TypeDescription
ListInstructionsResponse.Builder

addInstructions(int index, Instruction.Builder builderForValue)

public ListInstructionsResponse.Builder addInstructions(int index, Instruction.Builder builderForValue)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameters
NameDescription
indexint
builderForValueInstruction.Builder
Returns
TypeDescription
ListInstructionsResponse.Builder

addInstructionsBuilder()

public Instruction.Builder addInstructionsBuilder()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
Instruction.Builder

addInstructionsBuilder(int index)

public Instruction.Builder addInstructionsBuilder(int index)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instruction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInstructionsResponse build()
Returns
TypeDescription
ListInstructionsResponse

buildPartial()

public ListInstructionsResponse buildPartial()
Returns
TypeDescription
ListInstructionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstructions()

public ListInstructionsResponse.Builder clearInstructions()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
ListInstructionsResponse.Builder

clearNextPageToken()

public ListInstructionsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListInstructionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListInstructionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInstructionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstructions(int index)

public Instruction getInstructions(int index)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instruction

getInstructionsBuilder(int index)

public Instruction.Builder getInstructionsBuilder(int index)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instruction.Builder

getInstructionsBuilderList()

public List<Instruction.Builder> getInstructionsBuilderList()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
List<Builder>

getInstructionsCount()

public int getInstructionsCount()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
int

getInstructionsList()

public List<Instruction> getInstructionsList()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
List<Instruction>

getInstructionsOrBuilder(int index)

public InstructionOrBuilder getInstructionsOrBuilder(int index)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstructionOrBuilder

getInstructionsOrBuilderList()

public List<? extends InstructionOrBuilder> getInstructionsOrBuilderList()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.InstructionOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListInstructionsResponse other)

public ListInstructionsResponse.Builder mergeFrom(ListInstructionsResponse other)
Parameter
NameDescription
otherListInstructionsResponse
Returns
TypeDescription
ListInstructionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstructions(int index)

public ListInstructionsResponse.Builder removeInstructions(int index)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListInstructionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstructions(int index, Instruction value)

public ListInstructionsResponse.Builder setInstructions(int index, Instruction value)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameters
NameDescription
indexint
valueInstruction
Returns
TypeDescription
ListInstructionsResponse.Builder

setInstructions(int index, Instruction.Builder builderForValue)

public ListInstructionsResponse.Builder setInstructions(int index, Instruction.Builder builderForValue)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameters
NameDescription
indexint
builderForValueInstruction.Builder
Returns
TypeDescription
ListInstructionsResponse.Builder

setNextPageToken(String value)

public ListInstructionsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListInstructionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInstructionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListInstructionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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