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.Builder
addAllInstructions(Iterable<? extends Instruction> values)
The list of Instructions to return.ListInstructionsResponse.Builder
addInstructions(int index, Instruction value)
The list of Instructions to return.ListInstructionsResponse.Builder
addInstructions(int index, Instruction.Builder builderForValue)
The list of Instructions to return.ListInstructionsResponse.Builder
addInstructions(Instruction value)
The list of Instructions to return.ListInstructionsResponse.Builder
addInstructions(Instruction.Builder builderForValue)
The list of Instructions to return.Instruction.Builder
addInstructionsBuilder()
The list of Instructions to return.Instruction.Builder
addInstructionsBuilder(int index)
The list of Instructions to return.ListInstructionsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListInstructionsResponse
build()
ListInstructionsResponse
buildPartial()
ListInstructionsResponse.Builder
clear()
ListInstructionsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListInstructionsResponse.Builder
clearInstructions()
The list of Instructions to return.ListInstructionsResponse.Builder
clearNextPageToken()
A token to retrieve next page of results.ListInstructionsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListInstructionsResponse.Builder
clone()
ListInstructionsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Instruction
getInstructions(int index)
The list of Instructions to return.Instruction.Builder
getInstructionsBuilder(int index)
The list of Instructions to return.List<Instruction.Builder>
getInstructionsBuilderList()
The list of Instructions to return.int
getInstructionsCount()
The list of Instructions to return.List<Instruction>
getInstructionsList()
The list of Instructions to return.InstructionOrBuilder
getInstructionsOrBuilder(int index)
The list of Instructions to return.List<? extends InstructionOrBuilder>
getInstructionsOrBuilderList()
The list of Instructions to return.String
getNextPageToken()
A token to retrieve next page of results.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token to retrieve next page of results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListInstructionsResponse.Builder
mergeFrom(ListInstructionsResponse other)
ListInstructionsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListInstructionsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListInstructionsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListInstructionsResponse.Builder
removeInstructions(int index)
The list of Instructions to return.ListInstructionsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListInstructionsResponse.Builder
setInstructions(int index, Instruction value)
The list of Instructions to return.ListInstructionsResponse.Builder
setInstructions(int index, Instruction.Builder builderForValue)
The list of Instructions to return.ListInstructionsResponse.Builder
setNextPageToken(String value)
A token to retrieve next page of results.ListInstructionsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token to retrieve next page of results.ListInstructionsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListInstructionsResponse.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
clear
public ListInstructionsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
getDefaultInstanceForType
public ListInstructionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListInstructionsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListInstructionsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListInstructionsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
setField
public ListInstructionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
clearField
public ListInstructionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
clearOneof
public ListInstructionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
setRepeatedField
public ListInstructionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
addRepeatedField
public ListInstructionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
mergeFrom
public ListInstructionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListInstructionsResponse.Builder>
-
mergeFrom
public ListInstructionsResponse.Builder mergeFrom(ListInstructionsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getInstructionsList
in interfaceListInstructionsResponseOrBuilder
-
getInstructionsCount
public int getInstructionsCount()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
- Specified by:
getInstructionsCount
in interfaceListInstructionsResponseOrBuilder
-
getInstructions
public Instruction getInstructions(int index)
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
- Specified by:
getInstructions
in 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:
getInstructionsOrBuilder
in interfaceListInstructionsResponseOrBuilder
-
getInstructionsOrBuilderList
public List<? extends InstructionOrBuilder> getInstructionsOrBuilderList()
The list of Instructions to return.
repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
- Specified by:
getInstructionsOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
mergeUnknownFields
public final ListInstructionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstructionsResponse.Builder>
-
-