Class UpdateProjectBillingInfoRequest.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<UpdateProjectBillingInfoRequest.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<UpdateProjectBillingInfoRequest.Builder>
      • getDefaultInstanceForType

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

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

        public UpdateProjectBillingInfoRequest 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<UpdateProjectBillingInfoRequest.Builder>
      • getName

        public String getName()
         Required. The resource name of the project associated with the billing
         information that you want to update. For example,
         `projects/tokyo-rain-123`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface UpdateProjectBillingInfoRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the project associated with the billing
         information that you want to update. For example,
         `projects/tokyo-rain-123`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface UpdateProjectBillingInfoRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public UpdateProjectBillingInfoRequest.Builder setName​(String value)
         Required. The resource name of the project associated with the billing
         information that you want to update. For example,
         `projects/tokyo-rain-123`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public UpdateProjectBillingInfoRequest.Builder clearName()
         Required. The resource name of the project associated with the billing
         information that you want to update. For example,
         `projects/tokyo-rain-123`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNameBytes

        public UpdateProjectBillingInfoRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the project associated with the billing
         information that you want to update. For example,
         `projects/tokyo-rain-123`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasProjectBillingInfo

        public boolean hasProjectBillingInfo()
         The new billing information for the project. Output-only fields are
         ignored; thus, you can leave empty all fields except
         `billing_account_name`.
         
        .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;
        Specified by:
        hasProjectBillingInfo in interface UpdateProjectBillingInfoRequestOrBuilder
        Returns:
        Whether the projectBillingInfo field is set.
      • getProjectBillingInfo

        public ProjectBillingInfo getProjectBillingInfo()
         The new billing information for the project. Output-only fields are
         ignored; thus, you can leave empty all fields except
         `billing_account_name`.
         
        .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;
        Specified by:
        getProjectBillingInfo in interface UpdateProjectBillingInfoRequestOrBuilder
        Returns:
        The projectBillingInfo.
      • setProjectBillingInfo

        public UpdateProjectBillingInfoRequest.Builder setProjectBillingInfo​(ProjectBillingInfo value)
         The new billing information for the project. Output-only fields are
         ignored; thus, you can leave empty all fields except
         `billing_account_name`.
         
        .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;
      • setProjectBillingInfo

        public UpdateProjectBillingInfoRequest.Builder setProjectBillingInfo​(ProjectBillingInfo.Builder builderForValue)
         The new billing information for the project. Output-only fields are
         ignored; thus, you can leave empty all fields except
         `billing_account_name`.
         
        .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;
      • mergeProjectBillingInfo

        public UpdateProjectBillingInfoRequest.Builder mergeProjectBillingInfo​(ProjectBillingInfo value)
         The new billing information for the project. Output-only fields are
         ignored; thus, you can leave empty all fields except
         `billing_account_name`.
         
        .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;
      • clearProjectBillingInfo

        public UpdateProjectBillingInfoRequest.Builder clearProjectBillingInfo()
         The new billing information for the project. Output-only fields are
         ignored; thus, you can leave empty all fields except
         `billing_account_name`.
         
        .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;
      • getProjectBillingInfoBuilder

        public ProjectBillingInfo.Builder getProjectBillingInfoBuilder()
         The new billing information for the project. Output-only fields are
         ignored; thus, you can leave empty all fields except
         `billing_account_name`.
         
        .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;