Class ListInstructionsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
- com.google.cloud.datalabeling.v1beta1.ListInstructionsResponse.Builder
-
- All Implemented Interfaces:
ListInstructionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListInstructionsResponse
public static final class ListInstructionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder> implements ListInstructionsResponseOrBuilder
Results of listing instructions under a project.
Protobuf typegoogle.cloud.datalabeling.v1beta1.ListInstructionsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInstructionsResponse.BuilderaddAllInstructions(Iterable<? extends Instruction> values)The list of Instructions to return.ListInstructionsResponse.BuilderaddInstructions(int index, Instruction value)The list of Instructions to return.ListInstructionsResponse.BuilderaddInstructions(int index, Instruction.Builder builderForValue)The list of Instructions to return.ListInstructionsResponse.BuilderaddInstructions(Instruction value)The list of Instructions to return.ListInstructionsResponse.BuilderaddInstructions(Instruction.Builder builderForValue)The list of Instructions to return.Instruction.BuilderaddInstructionsBuilder()The list of Instructions to return.Instruction.BuilderaddInstructionsBuilder(int index)The list of Instructions to return.ListInstructionsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListInstructionsResponsebuild()ListInstructionsResponsebuildPartial()ListInstructionsResponse.Builderclear()ListInstructionsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListInstructionsResponse.BuilderclearInstructions()The list of Instructions to return.ListInstructionsResponse.BuilderclearNextPageToken()A token to retrieve next page of results.ListInstructionsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListInstructionsResponse.Builderclone()ListInstructionsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InstructiongetInstructions(int index)The list of Instructions to return.Instruction.BuildergetInstructionsBuilder(int index)The list of Instructions to return.List<Instruction.Builder>getInstructionsBuilderList()The list of Instructions to return.intgetInstructionsCount()The list of Instructions to return.List<Instruction>getInstructionsList()The list of Instructions to return.InstructionOrBuildergetInstructionsOrBuilder(int index)The list of Instructions to return.List<? extends InstructionOrBuilder>getInstructionsOrBuilderList()The list of Instructions to return.StringgetNextPageToken()A token to retrieve next page of results.com.google.protobuf.ByteStringgetNextPageTokenBytes()A token to retrieve next page of results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListInstructionsResponse.BuildermergeFrom(ListInstructionsResponse other)ListInstructionsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListInstructionsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListInstructionsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListInstructionsResponse.BuilderremoveInstructions(int index)The list of Instructions to return.ListInstructionsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListInstructionsResponse.BuildersetInstructions(int index, Instruction value)The list of Instructions to return.ListInstructionsResponse.BuildersetInstructions(int index, Instruction.Builder builderForValue)The list of Instructions to return.ListInstructionsResponse.BuildersetNextPageToken(String value)A token to retrieve next page of results.ListInstructionsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A token to retrieve next page of results.ListInstructionsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListInstructionsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
clear
public ListInstructionsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
getDefaultInstanceForType
public ListInstructionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListInstructionsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListInstructionsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListInstructionsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
setField
public ListInstructionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
clearField
public ListInstructionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
clearOneof
public ListInstructionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
setRepeatedField
public ListInstructionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
addRepeatedField
public ListInstructionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
mergeFrom
public ListInstructionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInstructionsResponse.Builder>
-
mergeFrom
public ListInstructionsResponse.Builder mergeFrom(ListInstructionsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
mergeFrom
public ListInstructionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInstructionsResponse.Builder>- Throws:
IOException
-
getInstructionsList
public List<Instruction> getInstructionsList()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;- Specified by:
getInstructionsListin interfaceListInstructionsResponseOrBuilder
-
getInstructionsCount
public int getInstructionsCount()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;- Specified by:
getInstructionsCountin interfaceListInstructionsResponseOrBuilder
-
getInstructions
public Instruction getInstructions(int index)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;- Specified by:
getInstructionsin interfaceListInstructionsResponseOrBuilder
-
setInstructions
public ListInstructionsResponse.Builder setInstructions(int index, Instruction value)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
setInstructions
public ListInstructionsResponse.Builder setInstructions(int index, Instruction.Builder builderForValue)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
addInstructions
public ListInstructionsResponse.Builder addInstructions(Instruction value)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
addInstructions
public ListInstructionsResponse.Builder addInstructions(int index, Instruction value)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
addInstructions
public ListInstructionsResponse.Builder addInstructions(Instruction.Builder builderForValue)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
addInstructions
public ListInstructionsResponse.Builder addInstructions(int index, Instruction.Builder builderForValue)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
addAllInstructions
public ListInstructionsResponse.Builder addAllInstructions(Iterable<? extends Instruction> values)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
clearInstructions
public ListInstructionsResponse.Builder clearInstructions()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
removeInstructions
public ListInstructionsResponse.Builder removeInstructions(int index)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
getInstructionsBuilder
public Instruction.Builder getInstructionsBuilder(int index)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
getInstructionsOrBuilder
public InstructionOrBuilder getInstructionsOrBuilder(int index)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;- Specified by:
getInstructionsOrBuilderin interfaceListInstructionsResponseOrBuilder
-
getInstructionsOrBuilderList
public List<? extends InstructionOrBuilder> getInstructionsOrBuilderList()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;- Specified by:
getInstructionsOrBuilderListin interfaceListInstructionsResponseOrBuilder
-
addInstructionsBuilder
public Instruction.Builder addInstructionsBuilder()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
addInstructionsBuilder
public Instruction.Builder addInstructionsBuilder(int index)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
getInstructionsBuilderList
public List<Instruction.Builder> getInstructionsBuilderList()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
-
getNextPageToken
public String getNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListInstructionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token to retrieve next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListInstructionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListInstructionsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListInstructionsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListInstructionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token to retrieve next page of results.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListInstructionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
mergeUnknownFields
public final ListInstructionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
-