Class ListProjectBillingInfoResponse.Builder

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

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

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

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

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

      public List<ProjectBillingInfo> getProjectBillingInfoList()
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
      Specified by:
      getProjectBillingInfoList in interface ListProjectBillingInfoResponseOrBuilder
    • getProjectBillingInfoCount

      public int getProjectBillingInfoCount()
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
      Specified by:
      getProjectBillingInfoCount in interface ListProjectBillingInfoResponseOrBuilder
    • getProjectBillingInfo

      public ProjectBillingInfo getProjectBillingInfo(int index)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
      Specified by:
      getProjectBillingInfo in interface ListProjectBillingInfoResponseOrBuilder
    • setProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder setProjectBillingInfo(int index, ProjectBillingInfo value)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • setProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder setProjectBillingInfo(int index, ProjectBillingInfo.Builder builderForValue)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • addProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(ProjectBillingInfo value)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • addProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(int index, ProjectBillingInfo value)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • addProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(ProjectBillingInfo.Builder builderForValue)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • addProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(int index, ProjectBillingInfo.Builder builderForValue)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • addAllProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder addAllProjectBillingInfo(Iterable<? extends ProjectBillingInfo> values)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • clearProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder clearProjectBillingInfo()
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • removeProjectBillingInfo

      public ListProjectBillingInfoResponse.Builder removeProjectBillingInfo(int index)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • getProjectBillingInfoBuilder

      public ProjectBillingInfo.Builder getProjectBillingInfoBuilder(int index)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • getProjectBillingInfoOrBuilder

      public ProjectBillingInfoOrBuilder getProjectBillingInfoOrBuilder(int index)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
      Specified by:
      getProjectBillingInfoOrBuilder in interface ListProjectBillingInfoResponseOrBuilder
    • getProjectBillingInfoOrBuilderList

      public List<? extends ProjectBillingInfoOrBuilder> getProjectBillingInfoOrBuilderList()
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
      Specified by:
      getProjectBillingInfoOrBuilderList in interface ListProjectBillingInfoResponseOrBuilder
    • addProjectBillingInfoBuilder

      public ProjectBillingInfo.Builder addProjectBillingInfoBuilder()
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • addProjectBillingInfoBuilder

      public ProjectBillingInfo.Builder addProjectBillingInfoBuilder(int index)
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • getProjectBillingInfoBuilderList

      public List<ProjectBillingInfo.Builder> getProjectBillingInfoBuilderList()
       A list of `ProjectBillingInfo` resources representing the projects
       associated with the billing account.
       
      repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListProjectBillingInfo` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListProjectBillingInfoResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListProjectBillingInfo` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListProjectBillingInfoResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListProjectBillingInfoResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListProjectBillingInfo` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListProjectBillingInfoResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListProjectBillingInfo` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListProjectBillingInfoResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListProjectBillingInfo` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.