Class UpdateAttachedClusterRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttachedClusterRequest.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.GeneratedMessageV3.Builder<UpdateAttachedClusterRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public UpdateAttachedClusterRequest.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<UpdateAttachedClusterRequest.Builder>
        Throws:
        IOException
      • hasAttachedCluster

        public boolean hasAttachedCluster()
         Required. The
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         to update.
         
        .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAttachedCluster in interface UpdateAttachedClusterRequestOrBuilder
        Returns:
        Whether the attachedCluster field is set.
      • getAttachedCluster

        public AttachedCluster getAttachedCluster()
         Required. The
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         to update.
         
        .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAttachedCluster in interface UpdateAttachedClusterRequestOrBuilder
        Returns:
        The attachedCluster.
      • setAttachedCluster

        public UpdateAttachedClusterRequest.Builder setAttachedCluster​(AttachedCluster value)
         Required. The
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         to update.
         
        .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
      • setAttachedCluster

        public UpdateAttachedClusterRequest.Builder setAttachedCluster​(AttachedCluster.Builder builderForValue)
         Required. The
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         to update.
         
        .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeAttachedCluster

        public UpdateAttachedClusterRequest.Builder mergeAttachedCluster​(AttachedCluster value)
         Required. The
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         to update.
         
        .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearAttachedCluster

        public UpdateAttachedClusterRequest.Builder clearAttachedCluster()
         Required. The
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         to update.
         
        .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
      • getAttachedClusterBuilder

        public AttachedCluster.Builder getAttachedClusterBuilder()
         Required. The
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         to update.
         
        .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        public boolean getValidateOnly()
         If set, only validate the request, but do not actually update the cluster.
         
        bool validate_only = 2;
        Specified by:
        getValidateOnly in interface UpdateAttachedClusterRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public UpdateAttachedClusterRequest.Builder setValidateOnly​(boolean value)
         If set, only validate the request, but do not actually update the cluster.
         
        bool validate_only = 2;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public UpdateAttachedClusterRequest.Builder clearValidateOnly()
         If set, only validate the request, but do not actually update the cluster.
         
        bool validate_only = 2;
        Returns:
        This builder for chaining.
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateAttachedClusterRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateAttachedClusterRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateAttachedClusterRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateAttachedClusterRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public UpdateAttachedClusterRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public UpdateAttachedClusterRequest.Builder clearUpdateMask()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
        
          *   `description`.
          *   `annotations`.
          *   `platform_version`.
          *   `authorization.admin_users`.
          *   `logging_config.component_config.enable_components`.
          *   `monitoring_config.managed_prometheus_config.enabled`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateAttachedClusterRequestOrBuilder