- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class SavedQuery.Builder extends GeneratedMessageV3.Builder<SavedQuery.Builder> implements SavedQueryOrBuilder
A SavedQuery is a view of the dataset. It references a subset of annotations by problem type and filters.
Protobuf type google.cloud.aiplatform.v1.SavedQuery
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SavedQuery.BuilderImplements
SavedQueryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SavedQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SavedQuery.Builder |
build()
public SavedQuery build()
Type | Description |
SavedQuery |
buildPartial()
public SavedQuery buildPartial()
Type | Description |
SavedQuery |
clear()
public SavedQuery.Builder clear()
Type | Description |
SavedQuery.Builder |
clearAnnotationFilter()
public SavedQuery.Builder clearAnnotationFilter()
Output only. Filters on the Annotations in the dataset.
string annotation_filter = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SavedQuery.Builder | This builder for chaining. |
clearAnnotationSpecCount()
public SavedQuery.Builder clearAnnotationSpecCount()
Output only. Number of AnnotationSpecs in the context of the SavedQuery.
int32 annotation_spec_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SavedQuery.Builder | This builder for chaining. |
clearCreateTime()
public SavedQuery.Builder clearCreateTime()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SavedQuery.Builder |
clearDisplayName()
public SavedQuery.Builder clearDisplayName()
Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SavedQuery.Builder | This builder for chaining. |
clearEtag()
public SavedQuery.Builder clearEtag()
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
string etag = 8;
Type | Description |
SavedQuery.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SavedQuery.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SavedQuery.Builder |
clearMetadata()
public SavedQuery.Builder clearMetadata()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Type | Description |
SavedQuery.Builder |
clearName()
public SavedQuery.Builder clearName()
Output only. Resource name of the SavedQuery.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SavedQuery.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SavedQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SavedQuery.Builder |
clearProblemType()
public SavedQuery.Builder clearProblemType()
Required. Problem type of the SavedQuery. Allowed values:
- IMAGE_CLASSIFICATION_SINGLE_LABEL
- IMAGE_CLASSIFICATION_MULTI_LABEL
- IMAGE_BOUNDING_POLY
- IMAGE_BOUNDING_BOX
- TEXT_CLASSIFICATION_SINGLE_LABEL
- TEXT_CLASSIFICATION_MULTI_LABEL
- TEXT_EXTRACTION
- TEXT_SENTIMENT
- VIDEO_CLASSIFICATION
- VIDEO_OBJECT_TRACKING
string problem_type = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SavedQuery.Builder | This builder for chaining. |
clearSupportAutomlTraining()
public SavedQuery.Builder clearSupportAutomlTraining()
Output only. If the Annotations belonging to the SavedQuery can be used for AutoML training.
bool support_automl_training = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SavedQuery.Builder | This builder for chaining. |
clearUpdateTime()
public SavedQuery.Builder clearUpdateTime()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SavedQuery.Builder |
clone()
public SavedQuery.Builder clone()
Type | Description |
SavedQuery.Builder |
getAnnotationFilter()
public String getAnnotationFilter()
Output only. Filters on the Annotations in the dataset.
string annotation_filter = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The annotationFilter. |
getAnnotationFilterBytes()
public ByteString getAnnotationFilterBytes()
Output only. Filters on the Annotations in the dataset.
string annotation_filter = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for annotationFilter. |
getAnnotationSpecCount()
public int getAnnotationSpecCount()
Output only. Number of AnnotationSpecs in the context of the SavedQuery.
int32 annotation_spec_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The annotationSpecCount. |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public SavedQuery getDefaultInstanceForType()
Type | Description |
SavedQuery |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getEtag()
public String getEtag()
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
string etag = 8;
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
string etag = 8;
Type | Description |
ByteString | The bytes for etag. |
getMetadata()
public Value getMetadata()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Type | Description |
Value | The metadata. |
getMetadataBuilder()
public Value.Builder getMetadataBuilder()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Type | Description |
Builder |
getMetadataOrBuilder()
public ValueOrBuilder getMetadataOrBuilder()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Type | Description |
ValueOrBuilder |
getName()
public String getName()
Output only. Resource name of the SavedQuery.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of the SavedQuery.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getProblemType()
public String getProblemType()
Required. Problem type of the SavedQuery. Allowed values:
- IMAGE_CLASSIFICATION_SINGLE_LABEL
- IMAGE_CLASSIFICATION_MULTI_LABEL
- IMAGE_BOUNDING_POLY
- IMAGE_BOUNDING_BOX
- TEXT_CLASSIFICATION_SINGLE_LABEL
- TEXT_CLASSIFICATION_MULTI_LABEL
- TEXT_EXTRACTION
- TEXT_SENTIMENT
- VIDEO_CLASSIFICATION
- VIDEO_OBJECT_TRACKING
string problem_type = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The problemType. |
getProblemTypeBytes()
public ByteString getProblemTypeBytes()
Required. Problem type of the SavedQuery. Allowed values:
- IMAGE_CLASSIFICATION_SINGLE_LABEL
- IMAGE_CLASSIFICATION_MULTI_LABEL
- IMAGE_BOUNDING_POLY
- IMAGE_BOUNDING_BOX
- TEXT_CLASSIFICATION_SINGLE_LABEL
- TEXT_CLASSIFICATION_MULTI_LABEL
- TEXT_EXTRACTION
- TEXT_SENTIMENT
- VIDEO_CLASSIFICATION
- VIDEO_OBJECT_TRACKING
string problem_type = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for problemType. |
getSupportAutomlTraining()
public boolean getSupportAutomlTraining()
Output only. If the Annotations belonging to the SavedQuery can be used for AutoML training.
bool support_automl_training = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | The supportAutomlTraining. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasMetadata()
public boolean hasMetadata()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Type | Description |
boolean | Whether the metadata field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public SavedQuery.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
SavedQuery.Builder |
mergeFrom(SavedQuery other)
public SavedQuery.Builder mergeFrom(SavedQuery other)
Name | Description |
other | SavedQuery |
Type | Description |
SavedQuery.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SavedQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SavedQuery.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SavedQuery.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SavedQuery.Builder |
mergeMetadata(Value value)
public SavedQuery.Builder mergeMetadata(Value value)
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Name | Description |
value | Value |
Type | Description |
SavedQuery.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SavedQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SavedQuery.Builder |
mergeUpdateTime(Timestamp value)
public SavedQuery.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
SavedQuery.Builder |
setAnnotationFilter(String value)
public SavedQuery.Builder setAnnotationFilter(String value)
Output only. Filters on the Annotations in the dataset.
string annotation_filter = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The annotationFilter to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setAnnotationFilterBytes(ByteString value)
public SavedQuery.Builder setAnnotationFilterBytes(ByteString value)
Output only. Filters on the Annotations in the dataset.
string annotation_filter = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for annotationFilter to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setAnnotationSpecCount(int value)
public SavedQuery.Builder setAnnotationSpecCount(int value)
Output only. Number of AnnotationSpecs in the context of the SavedQuery.
int32 annotation_spec_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The annotationSpecCount to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public SavedQuery.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
SavedQuery.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public SavedQuery.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
SavedQuery.Builder |
setDisplayName(String value)
public SavedQuery.Builder setDisplayName(String value)
Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public SavedQuery.Builder setDisplayNameBytes(ByteString value)
Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setEtag(String value)
public SavedQuery.Builder setEtag(String value)
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
string etag = 8;
Name | Description |
value | String The etag to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public SavedQuery.Builder setEtagBytes(ByteString value)
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
string etag = 8;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SavedQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SavedQuery.Builder |
setMetadata(Value value)
public SavedQuery.Builder setMetadata(Value value)
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Name | Description |
value | Value |
Type | Description |
SavedQuery.Builder |
setMetadata(Value.Builder builderForValue)
public SavedQuery.Builder setMetadata(Value.Builder builderForValue)
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;
Name | Description |
builderForValue | Builder |
Type | Description |
SavedQuery.Builder |
setName(String value)
public SavedQuery.Builder setName(String value)
Output only. Resource name of the SavedQuery.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public SavedQuery.Builder setNameBytes(ByteString value)
Output only. Resource name of the SavedQuery.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setProblemType(String value)
public SavedQuery.Builder setProblemType(String value)
Required. Problem type of the SavedQuery. Allowed values:
- IMAGE_CLASSIFICATION_SINGLE_LABEL
- IMAGE_CLASSIFICATION_MULTI_LABEL
- IMAGE_BOUNDING_POLY
- IMAGE_BOUNDING_BOX
- TEXT_CLASSIFICATION_SINGLE_LABEL
- TEXT_CLASSIFICATION_MULTI_LABEL
- TEXT_EXTRACTION
- TEXT_SENTIMENT
- VIDEO_CLASSIFICATION
- VIDEO_OBJECT_TRACKING
string problem_type = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The problemType to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setProblemTypeBytes(ByteString value)
public SavedQuery.Builder setProblemTypeBytes(ByteString value)
Required. Problem type of the SavedQuery. Allowed values:
- IMAGE_CLASSIFICATION_SINGLE_LABEL
- IMAGE_CLASSIFICATION_MULTI_LABEL
- IMAGE_BOUNDING_POLY
- IMAGE_BOUNDING_BOX
- TEXT_CLASSIFICATION_SINGLE_LABEL
- TEXT_CLASSIFICATION_MULTI_LABEL
- TEXT_EXTRACTION
- TEXT_SENTIMENT
- VIDEO_CLASSIFICATION
- VIDEO_OBJECT_TRACKING
string problem_type = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for problemType to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SavedQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SavedQuery.Builder |
setSupportAutomlTraining(boolean value)
public SavedQuery.Builder setSupportAutomlTraining(boolean value)
Output only. If the Annotations belonging to the SavedQuery can be used for AutoML training.
bool support_automl_training = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | boolean The supportAutomlTraining to set. |
Type | Description |
SavedQuery.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SavedQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SavedQuery.Builder |
setUpdateTime(Timestamp value)
public SavedQuery.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
SavedQuery.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public SavedQuery.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
SavedQuery.Builder |