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.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()
Returns
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>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
public ListAnnotationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListAnnotationsResponse build()
Returns
public ListAnnotationsResponse buildPartial()
Returns
public ListAnnotationsResponse.Builder clear()
Returns
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;
Returns
public ListAnnotationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListAnnotationsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;
Returns
public ListAnnotationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListAnnotationsResponse.Builder clone()
Returns
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
Returns
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
Returns
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
public int getAnnotationsCount()
A list of Annotations that matches the specified filter in the request.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
Returns
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
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
Returns
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()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListAnnotationsResponse.Builder mergeFrom(ListAnnotationsResponse other)
Parameter
Returns
public ListAnnotationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListAnnotationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListAnnotationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
public ListAnnotationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
public ListAnnotationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListAnnotationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides