public final class SavedQuery extends com.google.protobuf.GeneratedMessageV3 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.v1beta1.SavedQuery| Modifier and Type | Class and Description |
|---|---|
static class |
SavedQuery.Builder
A SavedQuery is a view of the dataset.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_FILTER_FIELD_NUMBER |
static int |
ANNOTATION_SPEC_COUNT_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PROBLEM_TYPE_FIELD_NUMBER |
static int |
SUPPORT_AUTOML_TRAINING_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAnnotationFilter()
Output only.
|
com.google.protobuf.ByteString |
getAnnotationFilterBytes()
Output only.
|
int |
getAnnotationSpecCount()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static SavedQuery |
getDefaultInstance() |
SavedQuery |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getEtag()
Used to perform a consistent read-modify-write update.
|
com.google.protobuf.ByteString |
getEtagBytes()
Used to perform a consistent read-modify-write update.
|
com.google.protobuf.Value |
getMetadata()
Some additional information about the SavedQuery.
|
com.google.protobuf.ValueOrBuilder |
getMetadataOrBuilder()
Some additional information about the SavedQuery.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<SavedQuery> |
getParserForType() |
String |
getProblemType()
Required.
|
com.google.protobuf.ByteString |
getProblemTypeBytes()
Required.
|
int |
getSerializedSize() |
boolean |
getSupportAutomlTraining()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasMetadata()
Some additional information about the SavedQuery.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SavedQuery.Builder |
newBuilder() |
static SavedQuery.Builder |
newBuilder(SavedQuery prototype) |
SavedQuery.Builder |
newBuilderForType() |
protected SavedQuery.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SavedQuery |
parseDelimitedFrom(InputStream input) |
static SavedQuery |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedQuery |
parseFrom(byte[] data) |
static SavedQuery |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedQuery |
parseFrom(ByteBuffer data) |
static SavedQuery |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedQuery |
parseFrom(com.google.protobuf.ByteString data) |
static SavedQuery |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedQuery |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SavedQuery |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedQuery |
parseFrom(InputStream input) |
static SavedQuery |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SavedQuery> |
parser() |
SavedQuery.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int ANNOTATION_FILTER_FIELD_NUMBER
public static final int PROBLEM_TYPE_FIELD_NUMBER
public static final int ANNOTATION_SPEC_COUNT_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int SUPPORT_AUTOML_TRAINING_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. Resource name of the SavedQuery.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface SavedQueryOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the SavedQuery.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface SavedQueryOrBuilderpublic 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];getDisplayName in interface SavedQueryOrBuilderpublic com.google.protobuf.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];getDisplayNameBytes in interface SavedQueryOrBuilderpublic boolean hasMetadata()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;hasMetadata in interface SavedQueryOrBuilderpublic com.google.protobuf.Value getMetadata()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;getMetadata in interface SavedQueryOrBuilderpublic com.google.protobuf.ValueOrBuilder getMetadataOrBuilder()
Some additional information about the SavedQuery.
.google.protobuf.Value metadata = 12;getMetadataOrBuilder in interface SavedQueryOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface SavedQueryOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface SavedQueryOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this SavedQuery was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface SavedQueryOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface SavedQueryOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface SavedQueryOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when SavedQuery was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface SavedQueryOrBuilderpublic String getAnnotationFilter()
Output only. Filters on the Annotations in the dataset.
string annotation_filter = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getAnnotationFilter in interface SavedQueryOrBuilderpublic com.google.protobuf.ByteString getAnnotationFilterBytes()
Output only. Filters on the Annotations in the dataset.
string annotation_filter = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getAnnotationFilterBytes in interface SavedQueryOrBuilderpublic 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];getProblemType in interface SavedQueryOrBuilderpublic com.google.protobuf.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];getProblemTypeBytes in interface SavedQueryOrBuilderpublic int getAnnotationSpecCount()
Output only. Number of AnnotationSpecs in the context of the SavedQuery.
int32 annotation_spec_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getAnnotationSpecCount in interface SavedQueryOrBuilderpublic String getEtag()
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
string etag = 8;getEtag in interface SavedQueryOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
string etag = 8;getEtagBytes in interface SavedQueryOrBuilderpublic 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];getSupportAutomlTraining in interface SavedQueryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SavedQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedQuery parseFrom(InputStream input) throws IOException
IOExceptionpublic static SavedQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SavedQuery parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SavedQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SavedQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SavedQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SavedQuery.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SavedQuery.Builder newBuilder()
public static SavedQuery.Builder newBuilder(SavedQuery prototype)
public SavedQuery.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SavedQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SavedQuery getDefaultInstance()
public static com.google.protobuf.Parser<SavedQuery> parser()
public com.google.protobuf.Parser<SavedQuery> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SavedQuery getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.