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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addInstructions(Instruction value)
public ListInstructionsResponse.Builder addInstructions(Instruction value)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
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;
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;
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;
addInstructionsBuilder()
public Instruction.Builder addInstructionsBuilder()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInstructionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListInstructionsResponse build()
buildPartial()
public ListInstructionsResponse buildPartial()
clear()
public ListInstructionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInstructionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstructions()
public ListInstructionsResponse.Builder clearInstructions()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
clearNextPageToken()
public ListInstructionsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInstructionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListInstructionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListInstructionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getInstructionsBuilderList()
public List<Instruction.Builder> getInstructionsBuilderList()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
getInstructionsCount()
public int getInstructionsCount()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
Returns |
---|
Type | Description |
int | |
getInstructionsList()
public List<Instruction> getInstructionsList()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListInstructionsResponse other)
public ListInstructionsResponse.Builder mergeFrom(ListInstructionsResponse other)
public ListInstructionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListInstructionsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInstructionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListInstructionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInstructionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInstructionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides