- 0.75.0 (latest)
 - 0.73.0
 - 0.72.0
 - 0.71.0
 - 0.70.0
 - 0.69.0
 - 0.67.0
 - 0.65.0
 - 0.64.0
 - 0.61.0
 - 0.60.0
 - 0.59.0
 - 0.57.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.49.0
 - 0.48.0
 - 0.46.0
 - 0.45.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.34.0
 - 0.33.0
 - 0.32.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.21.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.9.0
 - 0.8.0
 - 0.7.0
 - 0.6.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.0
 - 0.1.0
 
public static final class QueryTemplate.Builder extends GeneratedMessageV3.Builder<QueryTemplate.Builder> implements QueryTemplateOrBuilderA 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueryTemplate.BuilderImplements
QueryTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
build()
public QueryTemplate build()| Returns | |
|---|---|
| Type | Description | 
QueryTemplate | 
        |
buildPartial()
public QueryTemplate buildPartial()| Returns | |
|---|---|
| Type | Description | 
QueryTemplate | 
        |
clear()
public QueryTemplate.Builder clear()| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
clearCreateTime()
public QueryTemplate.Builder clearCreateTime()Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
clearDescription()
public QueryTemplate.Builder clearDescription()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];
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
clearDisplayName()
public QueryTemplate.Builder clearDisplayName()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];
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
clearDocumentation()
public QueryTemplate.Builder clearDocumentation()Optional. Documentation describing the QueryTemplate.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public QueryTemplate.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
clearName()
public QueryTemplate.Builder clearName() 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];
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
clearPrimaryContact()
public QueryTemplate.Builder clearPrimaryContact()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];
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
clearProposer()
public QueryTemplate.Builder clearProposer()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];
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
clearRoutine()
public QueryTemplate.Builder clearRoutine()Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
clearState()
public QueryTemplate.Builder clearState()Output only. The QueryTemplate lifecycle state.
 
 .google.cloud.bigquery.analyticshub.v1.QueryTemplate.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
clearUpdateTime()
public QueryTemplate.Builder clearUpdateTime()Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
clone()
public QueryTemplate.Builder clone()| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
getCreateTime()
public Timestamp getCreateTime()Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDefaultInstanceForType()
public QueryTemplate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
QueryTemplate | 
        |
getDescription()
public 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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getDisplayName()
public 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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The displayName.  | 
      
getDisplayNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for displayName.  | 
      
getDocumentation()
public String getDocumentation()Optional. Documentation describing the QueryTemplate.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The documentation.  | 
      
getDocumentationBytes()
public ByteString getDocumentationBytes()Optional. Documentation describing the QueryTemplate.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for documentation.  | 
      
getName()
public 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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getPrimaryContact()
public 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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The primaryContact.  | 
      
getPrimaryContactBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for primaryContact.  | 
      
getProposer()
public 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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The proposer.  | 
      
getProposerBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for proposer.  | 
      
getRoutine()
public Routine getRoutine()Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Routine | 
        The routine.  | 
      
getRoutineBuilder()
public Routine.Builder getRoutineBuilder()Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Routine.Builder | 
        |
getRoutineOrBuilder()
public RoutineOrBuilder getRoutineOrBuilder()Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
RoutineOrBuilder | 
        |
getState()
public QueryTemplate.State getState()Output only. The QueryTemplate lifecycle state.
 
 .google.cloud.bigquery.analyticshub.v1.QueryTemplate.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.State | 
        The state.  | 
      
getStateValue()
public int getStateValue()Output only. The QueryTemplate lifecycle state.
 
 .google.cloud.bigquery.analyticshub.v1.QueryTemplate.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
hasCreateTime()
public boolean hasCreateTime()Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the createTime field is set.  | 
      
hasRoutine()
public boolean hasRoutine()Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the routine field is set.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeCreateTime(Timestamp value)
public QueryTemplate.Builder mergeCreateTime(Timestamp value)Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
mergeFrom(QueryTemplate other)
public QueryTemplate.Builder mergeFrom(QueryTemplate other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        QueryTemplate | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public QueryTemplate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
mergeRoutine(Routine value)
public QueryTemplate.Builder mergeRoutine(Routine value)Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Routine | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
mergeUpdateTime(Timestamp value)
public QueryTemplate.Builder mergeUpdateTime(Timestamp value)Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setCreateTime(Timestamp value)
public QueryTemplate.Builder setCreateTime(Timestamp value)Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setCreateTime(Timestamp.Builder builderForValue)
public QueryTemplate.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Timestamp when the QueryTemplate was created.
 
 .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setDescription(String value)
public QueryTemplate.Builder setDescription(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public QueryTemplate.Builder setDescriptionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setDisplayName(String value)
public QueryTemplate.Builder setDisplayName(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setDisplayNameBytes(ByteString value)
public QueryTemplate.Builder setDisplayNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setDocumentation(String value)
public QueryTemplate.Builder setDocumentation(String value)Optional. Documentation describing the QueryTemplate.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe documentation to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setDocumentationBytes(ByteString value)
public QueryTemplate.Builder setDocumentationBytes(ByteString value)Optional. Documentation describing the QueryTemplate.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for documentation to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public QueryTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setName(String value)
public QueryTemplate.Builder setName(String value) 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public QueryTemplate.Builder setNameBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setPrimaryContact(String value)
public QueryTemplate.Builder setPrimaryContact(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe primaryContact to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setPrimaryContactBytes(ByteString value)
public QueryTemplate.Builder setPrimaryContactBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for primaryContact to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setProposer(String value)
public QueryTemplate.Builder setProposer(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe proposer to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setProposerBytes(ByteString value)
public QueryTemplate.Builder setProposerBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for proposer to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setRoutine(Routine value)
public QueryTemplate.Builder setRoutine(Routine value)Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Routine | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setRoutine(Routine.Builder builderForValue)
public QueryTemplate.Builder setRoutine(Routine.Builder builderForValue)Optional. The routine associated with the QueryTemplate.
 
 .google.cloud.bigquery.analyticshub.v1.Routine routine = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Routine.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setState(QueryTemplate.State value)
public QueryTemplate.Builder setState(QueryTemplate.State value)Output only. The QueryTemplate lifecycle state.
 
 .google.cloud.bigquery.analyticshub.v1.QueryTemplate.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueryTemplate.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public QueryTemplate.Builder setStateValue(int value)Output only. The QueryTemplate lifecycle state.
 
 .google.cloud.bigquery.analyticshub.v1.QueryTemplate.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setUpdateTime(Timestamp value)
public QueryTemplate.Builder setUpdateTime(Timestamp value)Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |
setUpdateTime(Timestamp.Builder builderForValue)
public QueryTemplate.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Timestamp when the QueryTemplate was last modified.
 
 .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryTemplate.Builder | 
        |