Class ListInstructionsResponse.Builder (0.122.11)
0.207.0 (latest)
0.205.0
0.203.0
0.202.0
0.201.0
0.200.0
0.198.0
0.196.0
0.195.0
0.194.0
0.193.0
0.192.0
0.190.0
0.188.0
0.187.0
0.184.0
0.183.0
0.182.0
0.180.0
0.179.0
0.178.0
0.177.0
0.176.0
0.175.0
0.174.0
0.173.0
0.172.0
0.171.0
0.169.0
0.168.0
0.167.0
0.166.0
0.165.0
0.164.0
0.163.0
0.162.0
0.161.0
0.160.0
0.159.0
0.157.0
0.156.0
0.155.0
0.154.0
0.153.0
0.152.0
0.151.0
0.150.0
0.149.0
0.148.0
0.147.0
0.144.0
0.143.0
0.142.0
0.141.0
0.140.0
0.139.0
0.138.0
0.137.0
0.136.0
0.135.0
0.134.0
0.133.0
0.132.0
0.131.0
0.129.0
0.128.0
0.127.0
0.126.0
0.125.0
0.124.0
0.123.7
0.122.11
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
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
Name
Description
values
Iterable <? extends com.google.cloud.datalabeling.v1beta1.Instruction >
Returns
addInstructions(Instruction value)
public ListInstructionsResponse . Builder addInstructions ( Instruction value )
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addInstructionsBuilder()
public Instruction . Builder addInstructionsBuilder ()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Returns
addInstructionsBuilder(int index)
public Instruction . Builder addInstructionsBuilder ( int index )
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Parameter
Name
Description
index
int
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInstructionsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListInstructionsResponse build ()
Returns
buildPartial()
public ListInstructionsResponse buildPartial ()
Returns
clear()
public ListInstructionsResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInstructionsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearInstructions()
public ListInstructionsResponse . Builder clearInstructions ()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Returns
clearNextPageToken()
public ListInstructionsResponse . Builder clearNextPageToken ()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInstructionsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ListInstructionsResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListInstructionsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getInstructions(int index)
public Instruction getInstructions ( int index )
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Parameter
Name
Description
index
int
Returns
getInstructionsBuilder(int index)
public Instruction . Builder getInstructionsBuilder ( int index )
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Parameter
Name
Description
index
int
Returns
getInstructionsBuilderList()
public List<Instruction . Builder > getInstructionsBuilderList ()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Returns
getInstructionsCount()
public int getInstructionsCount ()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Returns
getInstructionsList()
public List<Instruction> getInstructionsList ()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Returns
getInstructionsOrBuilder(int index)
public InstructionOrBuilder getInstructionsOrBuilder ( int index )
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Parameter
Name
Description
index
int
Returns
getInstructionsOrBuilderList()
public List <? extends InstructionOrBuilder > getInstructionsOrBuilderList ()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Returns
Type
Description
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
Type
Description
String
The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
Type
Description
ByteString
The bytes for nextPageToken.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListInstructionsResponse other)
public ListInstructionsResponse . Builder mergeFrom ( ListInstructionsResponse other )
Parameter
Returns
public ListInstructionsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListInstructionsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInstructionsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Name
Description
index
int
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListInstructionsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Returns
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
Returns
setNextPageToken(String value)
public ListInstructionsResponse . Builder setNextPageToken ( String value )
A token to retrieve next page of results.
string next_page_token = 2;
Parameter
Name
Description
value
String The nextPageToken to set.
Returns
setNextPageTokenBytes(ByteString value)
public ListInstructionsResponse . Builder setNextPageTokenBytes ( ByteString value )
A token to retrieve next page of results.
string next_page_token = 2;
Parameter
Name
Description
value
ByteString The bytes for nextPageToken to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInstructionsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInstructionsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]