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

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

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

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

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

        public com.google.protobuf.ByteString getParentBytes()
         Required. Parent value for `AggregateAssetsValuesRequest`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParentBytes in interface AggregateAssetsValuesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public AggregateAssetsValuesRequest.Builder setParent​(String value)
         Required. Parent value for `AggregateAssetsValuesRequest`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public AggregateAssetsValuesRequest.Builder clearParent()
         Required. Parent value for `AggregateAssetsValuesRequest`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setParentBytes

        public AggregateAssetsValuesRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Parent value for `AggregateAssetsValuesRequest`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getAggregationsCount

        public int getAggregationsCount()
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
        Specified by:
        getAggregationsCount in interface AggregateAssetsValuesRequestOrBuilder
      • setAggregations

        public AggregateAssetsValuesRequest.Builder setAggregations​(int index,
                                                                    Aggregation value)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • setAggregations

        public AggregateAssetsValuesRequest.Builder setAggregations​(int index,
                                                                    Aggregation.Builder builderForValue)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • addAggregations

        public AggregateAssetsValuesRequest.Builder addAggregations​(Aggregation value)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • addAggregations

        public AggregateAssetsValuesRequest.Builder addAggregations​(int index,
                                                                    Aggregation value)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • addAggregations

        public AggregateAssetsValuesRequest.Builder addAggregations​(int index,
                                                                    Aggregation.Builder builderForValue)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • clearAggregations

        public AggregateAssetsValuesRequest.Builder clearAggregations()
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • removeAggregations

        public AggregateAssetsValuesRequest.Builder removeAggregations​(int index)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • getAggregationsBuilder

        public Aggregation.Builder getAggregationsBuilder​(int index)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • addAggregationsBuilder

        public Aggregation.Builder addAggregationsBuilder()
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • addAggregationsBuilder

        public Aggregation.Builder addAggregationsBuilder​(int index)
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • getAggregationsBuilderList

        public List<Aggregation.Builder> getAggregationsBuilderList()
         Array of aggregations to perform.
         Up to 25 aggregations can be defined.
         
        repeated .google.cloud.migrationcenter.v1.Aggregation aggregations = 2;
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         The aggregation will be performed on assets that match the provided filter.
         
        string filter = 3;
        Specified by:
        getFilterBytes in interface AggregateAssetsValuesRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public AggregateAssetsValuesRequest.Builder setFilter​(String value)
         The aggregation will be performed on assets that match the provided filter.
         
        string filter = 3;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public AggregateAssetsValuesRequest.Builder clearFilter()
         The aggregation will be performed on assets that match the provided filter.
         
        string filter = 3;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public AggregateAssetsValuesRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         The aggregation will be performed on assets that match the provided filter.
         
        string filter = 3;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.