Class UpdateQueryTemplateRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateQueryTemplateRequest.Builder>
com.google.cloud.bigquery.analyticshub.v1.UpdateQueryTemplateRequest.Builder
All Implemented Interfaces:
UpdateQueryTemplateRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateQueryTemplateRequest

public static final class UpdateQueryTemplateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateQueryTemplateRequest.Builder> implements UpdateQueryTemplateRequestOrBuilder
 Message for updating a QueryTemplate.
 
Protobuf type google.cloud.bigquery.analyticshub.v1.UpdateQueryTemplateRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateQueryTemplateRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateQueryTemplateRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateQueryTemplateRequest.Builder>
    • getDefaultInstanceForType

      public UpdateQueryTemplateRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateQueryTemplateRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateQueryTemplateRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateQueryTemplateRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateQueryTemplateRequest.Builder>
    • mergeFrom

      public UpdateQueryTemplateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateQueryTemplateRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateQueryTemplateRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateQueryTemplateRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateQueryTemplateRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateQueryTemplateRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateQueryTemplateRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateQueryTemplateRequest.Builder clearUpdateMask()
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Field mask specifies the fields to update in the query template
       resource. The fields specified in the `updateMask` are relative to the
       resource and are not a full request.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateQueryTemplateRequestOrBuilder
    • hasQueryTemplate

      public boolean hasQueryTemplate()
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasQueryTemplate in interface UpdateQueryTemplateRequestOrBuilder
      Returns:
      Whether the queryTemplate field is set.
    • getQueryTemplate

      public QueryTemplate getQueryTemplate()
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQueryTemplate in interface UpdateQueryTemplateRequestOrBuilder
      Returns:
      The queryTemplate.
    • setQueryTemplate

      public UpdateQueryTemplateRequest.Builder setQueryTemplate(QueryTemplate value)
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • setQueryTemplate

      public UpdateQueryTemplateRequest.Builder setQueryTemplate(QueryTemplate.Builder builderForValue)
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeQueryTemplate

      public UpdateQueryTemplateRequest.Builder mergeQueryTemplate(QueryTemplate value)
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearQueryTemplate

      public UpdateQueryTemplateRequest.Builder clearQueryTemplate()
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • getQueryTemplateBuilder

      public QueryTemplate.Builder getQueryTemplateBuilder()
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • getQueryTemplateOrBuilder

      public QueryTemplateOrBuilder getQueryTemplateOrBuilder()
       Required. The QueryTemplate to update.
       
      .google.cloud.bigquery.analyticshub.v1.QueryTemplate query_template = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQueryTemplateOrBuilder in interface UpdateQueryTemplateRequestOrBuilder