Class ListAnnotationsResponse.Builder (3.56.0)

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

Response message for DatasetService.ListAnnotations.

Protobuf type google.cloud.aiplatform.v1beta1.ListAnnotationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Annotation>
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
value Annotation
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
builderForValue Annotation.Builder
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameters
Name Description
index int
value Annotation
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameters
Name Description
index int
builderForValue Annotation.Builder
Returns
Type Description
ListAnnotationsResponse.Builder

addAnnotationsBuilder()

public Annotation.Builder addAnnotationsBuilder()

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

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

Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
Annotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides

build()

public ListAnnotationsResponse build()
Returns
Type Description
ListAnnotationsResponse

buildPartial()

public ListAnnotationsResponse buildPartial()
Returns
Type Description
ListAnnotationsResponse

clear()

public ListAnnotationsResponse.Builder clear()
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides

clearAnnotations()

public ListAnnotationsResponse.Builder clearAnnotations()

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

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

Returns
Type Description
ListAnnotationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAnnotationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides

clearNextPageToken()

public ListAnnotationsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
ListAnnotationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAnnotationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides

clone()

public ListAnnotationsResponse.Builder clone()
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
Annotation.Builder

getAnnotationsBuilderList()

public List<Annotation.Builder> getAnnotationsBuilderList()

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

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

Returns
Type Description
List<Builder>

getAnnotationsCount()

public int getAnnotationsCount()

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

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

Returns
Type Description
int

getAnnotationsList()

public List<Annotation> getAnnotationsList()

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

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

Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotationOrBuilder

getAnnotationsOrBuilderList()

public List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()

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

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

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.AnnotationOrBuilder>

getDefaultInstanceForType()

public ListAnnotationsResponse getDefaultInstanceForType()
Returns
Type Description
ListAnnotationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAnnotationsResponse other)

public ListAnnotationsResponse.Builder mergeFrom(ListAnnotationsResponse other)
Parameter
Name Description
other ListAnnotationsResponse
Returns
Type Description
ListAnnotationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAnnotationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAnnotationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameters
Name Description
index int
value Annotation
Returns
Type Description
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.v1beta1.Annotation annotations = 1;

Parameters
Name Description
index int
builderForValue Annotation.Builder
Returns
Type Description
ListAnnotationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides

setNextPageToken(String value)

public ListAnnotationsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAnnotationsResponse.Builder
Overrides