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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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 |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.Annotation>
|
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;
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;
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;
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;
public Annotation.Builder addAnnotationsBuilder()
A list of Annotations that matches the specified filter in the request.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
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 |
Name |
Description |
index |
int
|
public ListAnnotationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListAnnotationsResponse build()
public ListAnnotationsResponse buildPartial()
public ListAnnotationsResponse.Builder clear()
Overrides
public ListAnnotationsResponse.Builder clearAnnotations()
A list of Annotations that matches the specified filter in the request.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
public ListAnnotationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAnnotationsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;
public ListAnnotationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListAnnotationsResponse.Builder clone()
Overrides
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
public int getAnnotationsCount()
A list of Annotations that matches the specified filter in the request.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
Returns |
Type |
Description |
int |
|
public List<Annotation> getAnnotationsList()
A list of Annotations that matches the specified filter in the request.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.AnnotationOrBuilder> |
|
public ListAnnotationsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListAnnotationsResponse.Builder mergeFrom(ListAnnotationsResponse other)
public ListAnnotationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListAnnotationsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListAnnotationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
Name |
Description |
index |
int
|
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;
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;
public ListAnnotationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListAnnotationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListAnnotationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides