Class ListProjectBillingInfoRequest.Builder

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

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

      public ListProjectBillingInfoRequest 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 ListProjectBillingInfoRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public String getName()
       Required. The resource name of the billing account associated with the
       projects that you want to list. For example,
       `billingAccounts/012345-567890-ABCDEF`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ListProjectBillingInfoRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the billing account associated with the
       projects that you want to list. For example,
       `billingAccounts/012345-567890-ABCDEF`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ListProjectBillingInfoRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The resource name of the billing account associated with the
       projects that you want to list. For example,
       `billingAccounts/012345-567890-ABCDEF`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The resource name of the billing account associated with the
       projects that you want to list. For example,
       `billingAccounts/012345-567890-ABCDEF`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public ListProjectBillingInfoRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the billing account associated with the
       projects that you want to list. For example,
       `billingAccounts/012345-567890-ABCDEF`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Requested page size. The maximum page size is 100; this is also the
       default.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListProjectBillingInfoRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListProjectBillingInfoRequest.Builder setPageSize(int value)
       Requested page size. The maximum page size is 100; this is also the
       default.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListProjectBillingInfoRequest.Builder clearPageSize()
       Requested page size. The maximum page size is 100; this is also the
       default.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A token identifying a page of results to be returned. This should be a
       `next_page_token` value returned from a previous `ListProjectBillingInfo`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListProjectBillingInfoRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A token identifying a page of results to be returned. This should be a
       `next_page_token` value returned from a previous `ListProjectBillingInfo`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListProjectBillingInfoRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListProjectBillingInfoRequest.Builder setPageToken(String value)
       A token identifying a page of results to be returned. This should be a
       `next_page_token` value returned from a previous `ListProjectBillingInfo`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListProjectBillingInfoRequest.Builder clearPageToken()
       A token identifying a page of results to be returned. This should be a
       `next_page_token` value returned from a previous `ListProjectBillingInfo`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListProjectBillingInfoRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results to be returned. This should be a
       `next_page_token` value returned from a previous `ListProjectBillingInfo`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.