Class UpdateProjectBillingInfoRequest.Builder

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

public static final class UpdateProjectBillingInfoRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateProjectBillingInfoRequest.Builder> implements UpdateProjectBillingInfoRequestOrBuilder
 Request message for `UpdateProjectBillingInfo`.
 
Protobuf type google.cloud.billing.v1.UpdateProjectBillingInfoRequest
  • 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<UpdateProjectBillingInfoRequest.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<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.GeneratedMessage.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

      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
    • mergeFrom

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

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

       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

       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;
    • getProjectBillingInfoOrBuilder

      public ProjectBillingInfoOrBuilder getProjectBillingInfoOrBuilder()
       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:
      getProjectBillingInfoOrBuilder in interface UpdateProjectBillingInfoRequestOrBuilder