Class ListAnnotationsResponse.Builder (3.37.0)

public static final class ListAnnotationsResponse.Builder extends GeneratedMessageV3.Builder<ListAnnotationsResponse.Builder> implements ListAnnotationsResponseOrBuilder

Response message for DatasetService.ListAnnotations.

Protobuf type google.cloud.aiplatform.v1.ListAnnotationsResponse

Static Methods

getDescriptor()

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

Methods

addAllAnnotations(Iterable<? extends Annotation> values)

public ListAnnotationsResponse.Builder addAllAnnotations(Iterable<? extends Annotation> values)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Annotation>
Returns
TypeDescription
ListAnnotationsResponse.Builder

addAnnotations(Annotation value)

public ListAnnotationsResponse.Builder addAnnotations(Annotation value)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
valueAnnotation
Returns
TypeDescription
ListAnnotationsResponse.Builder

addAnnotations(Annotation.Builder builderForValue)

public ListAnnotationsResponse.Builder addAnnotations(Annotation.Builder builderForValue)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
builderForValueAnnotation.Builder
Returns
TypeDescription
ListAnnotationsResponse.Builder

addAnnotations(int index, Annotation value)

public ListAnnotationsResponse.Builder addAnnotations(int index, Annotation value)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameters
NameDescription
indexint
valueAnnotation
Returns
TypeDescription
ListAnnotationsResponse.Builder

addAnnotations(int index, Annotation.Builder builderForValue)

public ListAnnotationsResponse.Builder addAnnotations(int index, Annotation.Builder builderForValue)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameters
NameDescription
indexint
builderForValueAnnotation.Builder
Returns
TypeDescription
ListAnnotationsResponse.Builder

addAnnotationsBuilder()

public Annotation.Builder addAnnotationsBuilder()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
Annotation.Builder

addAnnotationsBuilder(int index)

public Annotation.Builder addAnnotationsBuilder(int index)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

build()

public ListAnnotationsResponse build()
Returns
TypeDescription
ListAnnotationsResponse

buildPartial()

public ListAnnotationsResponse buildPartial()
Returns
TypeDescription
ListAnnotationsResponse

clear()

public ListAnnotationsResponse.Builder clear()
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

clearAnnotations()

public ListAnnotationsResponse.Builder clearAnnotations()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
ListAnnotationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAnnotationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

clearNextPageToken()

public ListAnnotationsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ListAnnotationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAnnotationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

clone()

public ListAnnotationsResponse.Builder clone()
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

getAnnotations(int index)

public Annotation getAnnotations(int index)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation

getAnnotationsBuilder(int index)

public Annotation.Builder getAnnotationsBuilder(int index)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation.Builder

getAnnotationsBuilderList()

public List<Annotation.Builder> getAnnotationsBuilderList()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
List<Builder>

getAnnotationsCount()

public int getAnnotationsCount()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
int

getAnnotationsList()

public List<Annotation> getAnnotationsList()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
List<Annotation>

getAnnotationsOrBuilder(int index)

public AnnotationOrBuilder getAnnotationsOrBuilder(int index)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationOrBuilder

getAnnotationsOrBuilderList()

public List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.AnnotationOrBuilder>

getDefaultInstanceForType()

public ListAnnotationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAnnotationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAnnotationsResponse other)

public ListAnnotationsResponse.Builder mergeFrom(ListAnnotationsResponse other)
Parameter
NameDescription
otherListAnnotationsResponse
Returns
TypeDescription
ListAnnotationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAnnotationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListAnnotationsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

removeAnnotations(int index)

public ListAnnotationsResponse.Builder removeAnnotations(int index)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAnnotationsResponse.Builder

setAnnotations(int index, Annotation value)

public ListAnnotationsResponse.Builder setAnnotations(int index, Annotation value)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameters
NameDescription
indexint
valueAnnotation
Returns
TypeDescription
ListAnnotationsResponse.Builder

setAnnotations(int index, Annotation.Builder builderForValue)

public ListAnnotationsResponse.Builder setAnnotations(int index, Annotation.Builder builderForValue)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameters
NameDescription
indexint
builderForValueAnnotation.Builder
Returns
TypeDescription
ListAnnotationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

setNextPageToken(String value)

public ListAnnotationsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListAnnotationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAnnotationsResponse.Builder setNextPageTokenBytes(ByteString value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAnnotationsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAnnotationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAnnotationsResponse.Builder
Overrides