Class BillingInfo.Builder

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

public static final class BillingInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<BillingInfo.Builder> implements BillingInfoOrBuilder
 Billing Information.
 
Protobuf type google.cloud.licensemanager.v1.BillingInfo
  • 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<BillingInfo.Builder>
    • clear

      public BillingInfo.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<BillingInfo.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<BillingInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BillingInfo.Builder mergeFrom(BillingInfo other)
    • isInitialized

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

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

      public BillingInfo.CurrentBillingInfoCase getCurrentBillingInfoCase()
      Specified by:
      getCurrentBillingInfoCase in interface BillingInfoOrBuilder
    • clearCurrentBillingInfo

      public BillingInfo.Builder clearCurrentBillingInfo()
    • hasUserCountBilling

      public boolean hasUserCountBilling()
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUserCountBilling in interface BillingInfoOrBuilder
      Returns:
      Whether the userCountBilling field is set.
    • getUserCountBilling

      public UserCountBillingInfo getUserCountBilling()
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUserCountBilling in interface BillingInfoOrBuilder
      Returns:
      The userCountBilling.
    • setUserCountBilling

      public BillingInfo.Builder setUserCountBilling(UserCountBillingInfo value)
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUserCountBilling

      public BillingInfo.Builder setUserCountBilling(UserCountBillingInfo.Builder builderForValue)
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeUserCountBilling

      public BillingInfo.Builder mergeUserCountBilling(UserCountBillingInfo value)
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearUserCountBilling

      public BillingInfo.Builder clearUserCountBilling()
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUserCountBillingBuilder

      public UserCountBillingInfo.Builder getUserCountBillingBuilder()
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUserCountBillingOrBuilder

      public UserCountBillingInfoOrBuilder getUserCountBillingOrBuilder()
       Required. This type of billing uses user count for computing total
       charge.
       
      .google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUserCountBillingOrBuilder in interface BillingInfoOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface BillingInfoOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface BillingInfoOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public BillingInfo.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public BillingInfo.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public BillingInfo.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public BillingInfo.Builder clearStartTime()
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. When the billing starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface BillingInfoOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface BillingInfoOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface BillingInfoOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public BillingInfo.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public BillingInfo.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public BillingInfo.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

      public BillingInfo.Builder clearEndTime()
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. When the billing ends.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface BillingInfoOrBuilder