public final class ListAnnotationSpecSetsResponse extends GeneratedMessageV3 implements ListAnnotationSpecSetsResponseOrBuilder
Results of listing annotation spec set under a project.
Protobuf type google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse
Static Fields
ANNOTATION_SPEC_SETS_FIELD_NUMBER
public static final int ANNOTATION_SPEC_SETS_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListAnnotationSpecSetsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListAnnotationSpecSetsResponse.Builder newBuilder()
Returns
newBuilder(ListAnnotationSpecSetsResponse prototype)
public static ListAnnotationSpecSetsResponse.Builder newBuilder(ListAnnotationSpecSetsResponse prototype)
Parameter
Returns
public static ListAnnotationSpecSetsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListAnnotationSpecSetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListAnnotationSpecSetsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListAnnotationSpecSetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListAnnotationSpecSetsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAnnotationSpecSetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListAnnotationSpecSetsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListAnnotationSpecSetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListAnnotationSpecSetsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListAnnotationSpecSetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListAnnotationSpecSetsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListAnnotationSpecSetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListAnnotationSpecSetsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAnnotationSpecSets(int index)
public AnnotationSpecSet getAnnotationSpecSets(int index)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Parameter
Returns
getAnnotationSpecSetsCount()
public int getAnnotationSpecSetsCount()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
getAnnotationSpecSetsList()
public List<AnnotationSpecSet> getAnnotationSpecSetsList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
getAnnotationSpecSetsOrBuilder(int index)
public AnnotationSpecSetOrBuilder getAnnotationSpecSetsOrBuilder(int index)
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Parameter
Returns
getAnnotationSpecSetsOrBuilderList()
public List<? extends AnnotationSpecSetOrBuilder> getAnnotationSpecSetsOrBuilderList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.AnnotationSpecSetOrBuilder> | |
getDefaultInstanceForType()
public ListAnnotationSpecSetsResponse getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<ListAnnotationSpecSetsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListAnnotationSpecSetsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListAnnotationSpecSetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListAnnotationSpecSetsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions