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

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

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

        public ListUtilizationReportsResponse 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<ListUtilizationReportsResponse.Builder>
      • getUtilizationReportsCount

        public int getUtilizationReportsCount()
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUtilizationReportsCount in interface ListUtilizationReportsResponseOrBuilder
      • setUtilizationReports

        public ListUtilizationReportsResponse.Builder setUtilizationReports​(int index,
                                                                            UtilizationReport value)
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addUtilizationReports

        public ListUtilizationReportsResponse.Builder addUtilizationReports​(UtilizationReport value)
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addUtilizationReports

        public ListUtilizationReportsResponse.Builder addUtilizationReports​(int index,
                                                                            UtilizationReport value)
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUtilizationReports

        public ListUtilizationReportsResponse.Builder clearUtilizationReports()
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeUtilizationReports

        public ListUtilizationReportsResponse.Builder removeUtilizationReports​(int index)
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUtilizationReportsBuilder

        public UtilizationReport.Builder getUtilizationReportsBuilder​(int index)
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addUtilizationReportsBuilder

        public UtilizationReport.Builder addUtilizationReportsBuilder()
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addUtilizationReportsBuilder

        public UtilizationReport.Builder addUtilizationReportsBuilder​(int index)
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUtilizationReportsBuilderList

        public List<UtilizationReport.Builder> getUtilizationReportsBuilderList()
         Output only. The list of reports.
         
        repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getNextPageToken

        public String getNextPageToken()
         Output only. A token, which can be sent as `page_token` to retrieve the
         next page. If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNextPageToken in interface ListUtilizationReportsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Output only. A token, which can be sent as `page_token` to retrieve the
         next page. If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNextPageTokenBytes in interface ListUtilizationReportsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListUtilizationReportsResponse.Builder setNextPageToken​(String value)
         Output only. A token, which can be sent as `page_token` to retrieve the
         next page. If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListUtilizationReportsResponse.Builder clearNextPageToken()
         Output only. A token, which can be sent as `page_token` to retrieve the
         next page. If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListUtilizationReportsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Output only. A token, which can be sent as `page_token` to retrieve the
         next page. If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getUnreachableList

        public com.google.protobuf.ProtocolStringList getUnreachableList()
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUnreachableList in interface ListUtilizationReportsResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachableCount

        public int getUnreachableCount()
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUnreachableCount in interface ListUtilizationReportsResponseOrBuilder
        Returns:
        The count of unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUnreachable in interface ListUtilizationReportsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unreachable at the given index.
      • getUnreachableBytes

        public com.google.protobuf.ByteString getUnreachableBytes​(int index)
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUnreachableBytes in interface ListUtilizationReportsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListUtilizationReportsResponse.Builder setUnreachable​(int index,
                                                                     String value)
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The unreachable to set.
        Returns:
        This builder for chaining.
      • addUnreachable

        public ListUtilizationReportsResponse.Builder addUnreachable​(String value)
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListUtilizationReportsResponse.Builder addAllUnreachable​(Iterable<String> values)
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListUtilizationReportsResponse.Builder clearUnreachable()
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListUtilizationReportsResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         Output only. Locations that could not be reached.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes of the unreachable to add.
        Returns:
        This builder for chaining.