Class ListAnnotationSpecSetsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListAnnotationSpecSetsResponse.Builder>
-
- com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse.Builder
-
- All Implemented Interfaces:
ListAnnotationSpecSetsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListAnnotationSpecSetsResponse
public static final class ListAnnotationSpecSetsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListAnnotationSpecSetsResponse.Builder> implements ListAnnotationSpecSetsResponseOrBuilder
Results of listing annotation spec set under a project.
Protobuf typegoogle.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse
-
-
Method Summary
-
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<ListAnnotationSpecSetsResponse.Builder>
-
clear
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
-
getDefaultInstanceForType
public ListAnnotationSpecSetsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListAnnotationSpecSetsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListAnnotationSpecSetsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
-
setField
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
-
clearField
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
-
clearOneof
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
-
setRepeatedField
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
-
addRepeatedField
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
-
mergeFrom
public ListAnnotationSpecSetsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListAnnotationSpecSetsResponse.Builder>
-
mergeFrom
public ListAnnotationSpecSetsResponse.Builder mergeFrom(ListAnnotationSpecSetsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListAnnotationSpecSetsResponse.Builder>
-
mergeFrom
public ListAnnotationSpecSetsResponse.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<ListAnnotationSpecSetsResponse.Builder>
- Throws:
IOException
-
getAnnotationSpecSetsList
public List<AnnotationSpecSet> getAnnotationSpecSetsList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
- Specified by:
getAnnotationSpecSetsList
in interfaceListAnnotationSpecSetsResponseOrBuilder
-
getAnnotationSpecSetsCount
public int getAnnotationSpecSetsCount()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
- Specified by:
getAnnotationSpecSetsCount
in interfaceListAnnotationSpecSetsResponseOrBuilder
-
getAnnotationSpecSets
public AnnotationSpecSet getAnnotationSpecSets(int index)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
- Specified by:
getAnnotationSpecSets
in interfaceListAnnotationSpecSetsResponseOrBuilder
-
setAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder setAnnotationSpecSets(int index, AnnotationSpecSet value)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
setAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder setAnnotationSpecSets(int index, AnnotationSpecSet.Builder builderForValue)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
addAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(AnnotationSpecSet value)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
addAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(int index, AnnotationSpecSet value)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
addAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(AnnotationSpecSet.Builder builderForValue)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
addAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(int index, AnnotationSpecSet.Builder builderForValue)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
addAllAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder addAllAnnotationSpecSets(Iterable<? extends AnnotationSpecSet> values)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
clearAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder clearAnnotationSpecSets()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
removeAnnotationSpecSets
public ListAnnotationSpecSetsResponse.Builder removeAnnotationSpecSets(int index)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
getAnnotationSpecSetsBuilder
public AnnotationSpecSet.Builder getAnnotationSpecSetsBuilder(int index)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
getAnnotationSpecSetsOrBuilder
public AnnotationSpecSetOrBuilder getAnnotationSpecSetsOrBuilder(int index)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
- Specified by:
getAnnotationSpecSetsOrBuilder
in interfaceListAnnotationSpecSetsResponseOrBuilder
-
getAnnotationSpecSetsOrBuilderList
public List<? extends AnnotationSpecSetOrBuilder> getAnnotationSpecSetsOrBuilderList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
- Specified by:
getAnnotationSpecSetsOrBuilderList
in interfaceListAnnotationSpecSetsResponseOrBuilder
-
addAnnotationSpecSetsBuilder
public AnnotationSpecSet.Builder addAnnotationSpecSetsBuilder()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
addAnnotationSpecSetsBuilder
public AnnotationSpecSet.Builder addAnnotationSpecSetsBuilder(int index)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
getAnnotationSpecSetsBuilderList
public List<AnnotationSpecSet.Builder> getAnnotationSpecSetsBuilderList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
-
getNextPageToken
public String getNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListAnnotationSpecSetsResponseOrBuilder
- 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 interfaceListAnnotationSpecSetsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListAnnotationSpecSetsResponse.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 ListAnnotationSpecSetsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListAnnotationSpecSetsResponse.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 ListAnnotationSpecSetsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListAnnotationSpecSetsResponse.Builder>
-
mergeUnknownFields
public final ListAnnotationSpecSetsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListAnnotationSpecSetsResponse.Builder>
-
-