Class ListAnnotationSpecSetsResponse (0.137.0)

public final class ListAnnotationSpecSetsResponse extends GeneratedMessageV3 implements ListAnnotationSpecSetsResponseOrBuilder

Results of listing annotation spec set under a project.

Protobuf type google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListAnnotationSpecSetsResponse

Static Fields

ANNOTATION_SPEC_SETS_FIELD_NUMBER

public static final int ANNOTATION_SPEC_SETS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAnnotationSpecSetsResponse getDefaultInstance()
Returns
TypeDescription
ListAnnotationSpecSetsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListAnnotationSpecSetsResponse.Builder newBuilder()
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

newBuilder(ListAnnotationSpecSetsResponse prototype)

public static ListAnnotationSpecSetsResponse.Builder newBuilder(ListAnnotationSpecSetsResponse prototype)
Parameter
NameDescription
prototypeListAnnotationSpecSetsResponse
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListAnnotationSpecSetsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAnnotationSpecSetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListAnnotationSpecSetsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListAnnotationSpecSetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListAnnotationSpecSetsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListAnnotationSpecSetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListAnnotationSpecSetsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAnnotationSpecSetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListAnnotationSpecSetsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAnnotationSpecSetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListAnnotationSpecSetsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListAnnotationSpecSetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotationSpecSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListAnnotationSpecSetsResponse> parser()
Returns
TypeDescription
Parser<ListAnnotationSpecSetsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
NameDescription
indexint
Returns
TypeDescription
AnnotationSpecSet

getAnnotationSpecSetsCount()

public int getAnnotationSpecSetsCount()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
int

getAnnotationSpecSetsList()

public List<AnnotationSpecSet> getAnnotationSpecSetsList()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
List<AnnotationSpecSet>

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
NameDescription
indexint
Returns
TypeDescription
AnnotationSpecSetOrBuilder

getAnnotationSpecSetsOrBuilderList()

public List<? extends AnnotationSpecSetOrBuilder> getAnnotationSpecSetsOrBuilderList()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.AnnotationSpecSetOrBuilder>

getDefaultInstanceForType()

public ListAnnotationSpecSetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAnnotationSpecSetsResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListAnnotationSpecSetsResponse> getParserForType()
Returns
TypeDescription
Parser<ListAnnotationSpecSetsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListAnnotationSpecSetsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListAnnotationSpecSetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListAnnotationSpecSetsResponse.Builder toBuilder()
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException