public final class QueryTemplate extends com.google.protobuf.GeneratedMessageV3 implements QueryTemplateOrBuilder
A query template is a container for sharing table-valued functions defined by contributors in a data clean room.Protobuf type
google.cloud.bigquery.analyticshub.v1.QueryTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
QueryTemplate.Builder
A query template is a container for sharing table-valued functions defined by
contributors in a data clean room.
|
static class |
QueryTemplate.State
The QueryTemplate lifecycle state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
DOCUMENTATION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PRIMARY_CONTACT_FIELD_NUMBER |
static int |
PROPOSER_FIELD_NUMBER |
static int |
ROUTINE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static QueryTemplate |
getDefaultInstance() |
QueryTemplate |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getDocumentation()
Optional.
|
com.google.protobuf.ByteString |
getDocumentationBytes()
Optional.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<QueryTemplate> |
getParserForType() |
String |
getPrimaryContact()
Optional.
|
com.google.protobuf.ByteString |
getPrimaryContactBytes()
Optional.
|
String |
getProposer()
Optional.
|
com.google.protobuf.ByteString |
getProposerBytes()
Optional.
|
Routine |
getRoutine()
Optional.
|
RoutineOrBuilder |
getRoutineOrBuilder()
Optional.
|
int |
getSerializedSize() |
QueryTemplate.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasRoutine()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QueryTemplate.Builder |
newBuilder() |
static QueryTemplate.Builder |
newBuilder(QueryTemplate prototype) |
QueryTemplate.Builder |
newBuilderForType() |
protected QueryTemplate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static QueryTemplate |
parseDelimitedFrom(InputStream input) |
static QueryTemplate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryTemplate |
parseFrom(byte[] data) |
static QueryTemplate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryTemplate |
parseFrom(ByteBuffer data) |
static QueryTemplate |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryTemplate |
parseFrom(com.google.protobuf.ByteString data) |
static QueryTemplate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryTemplate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryTemplate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryTemplate |
parseFrom(InputStream input) |
static QueryTemplate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryTemplate> |
parser() |
QueryTemplate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 DESCRIPTION_FIELD_NUMBER
public static final int PROPOSER_FIELD_NUMBER
public static final int PRIMARY_CONTACT_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ROUTINE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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. The resource name of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface QueryTemplateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface QueryTemplateOrBuilderpublic String getDisplayName()
Required. Human-readable display name of the QueryTemplate. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface QueryTemplateOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Human-readable display name of the QueryTemplate. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface QueryTemplateOrBuilderpublic String getDescription()
Optional. Short description of the QueryTemplate. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface QueryTemplateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Short description of the QueryTemplate. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface QueryTemplateOrBuilderpublic String getProposer()
Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
string proposer = 4 [(.google.api.field_behavior) = OPTIONAL];getProposer in interface QueryTemplateOrBuilderpublic com.google.protobuf.ByteString getProposerBytes()
Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
string proposer = 4 [(.google.api.field_behavior) = OPTIONAL];getProposerBytes in interface QueryTemplateOrBuilderpublic String getPrimaryContact()
Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
string primary_contact = 10 [(.google.api.field_behavior) = OPTIONAL];getPrimaryContact in interface QueryTemplateOrBuilderpublic com.google.protobuf.ByteString getPrimaryContactBytes()
Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
string primary_contact = 10 [(.google.api.field_behavior) = OPTIONAL];getPrimaryContactBytes in interface QueryTemplateOrBuilderpublic String getDocumentation()
Optional. Documentation describing the QueryTemplate.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];getDocumentation in interface QueryTemplateOrBuilderpublic com.google.protobuf.ByteString getDocumentationBytes()
Optional. Documentation describing the QueryTemplate.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];getDocumentationBytes in interface QueryTemplateOrBuilderpublic int getStateValue()
Output only. The QueryTemplate lifecycle state.
.google.cloud.bigquery.analyticshub.v1.QueryTemplate.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface QueryTemplateOrBuilderpublic QueryTemplate.State getState()
Output only. The QueryTemplate lifecycle state.
.google.cloud.bigquery.analyticshub.v1.QueryTemplate.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface QueryTemplateOrBuilderpublic boolean hasRoutine()
Optional. The routine associated with the QueryTemplate.
.google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
hasRoutine in interface QueryTemplateOrBuilderpublic Routine getRoutine()
Optional. The routine associated with the QueryTemplate.
.google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
getRoutine in interface QueryTemplateOrBuilderpublic RoutineOrBuilder getRoutineOrBuilder()
Optional. The routine associated with the QueryTemplate.
.google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
getRoutineOrBuilder in interface QueryTemplateOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp when the QueryTemplate was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface QueryTemplateOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when the QueryTemplate was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface QueryTemplateOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the QueryTemplate was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface QueryTemplateOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when the QueryTemplate was last modified.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface QueryTemplateOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when the QueryTemplate was last modified.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface QueryTemplateOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when the QueryTemplate was last modified.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface QueryTemplateOrBuilderpublic 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 QueryTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryTemplate parseFrom(InputStream input) throws IOException
IOExceptionpublic static QueryTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryTemplate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QueryTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QueryTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QueryTemplate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QueryTemplate.Builder newBuilder()
public static QueryTemplate.Builder newBuilder(QueryTemplate prototype)
public QueryTemplate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QueryTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QueryTemplate getDefaultInstance()
public static com.google.protobuf.Parser<QueryTemplate> parser()
public com.google.protobuf.Parser<QueryTemplate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QueryTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.