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

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

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

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

        public ListUtilizationReportsRequest.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<ListUtilizationReportsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The Utilization Reports parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The Utilization Reports parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListUtilizationReportsRequest.Builder setParent​(String value)
         Required. The Utilization Reports parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ListUtilizationReportsRequest.Builder clearParent()
         Required. The Utilization Reports parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListUtilizationReportsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The Utilization Reports parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getViewValue

        public int getViewValue()
         Optional. The level of details of each report.
         Defaults to BASIC.
         
        .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getViewValue in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for view.
      • setViewValue

        public ListUtilizationReportsRequest.Builder setViewValue​(int value)
         Optional. The level of details of each report.
         Defaults to BASIC.
         
        .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The enum numeric value on the wire for view to set.
        Returns:
        This builder for chaining.
      • setView

        public ListUtilizationReportsRequest.Builder setView​(UtilizationReportView value)
         Optional. The level of details of each report.
         Defaults to BASIC.
         
        .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The view to set.
        Returns:
        This builder for chaining.
      • clearView

        public ListUtilizationReportsRequest.Builder clearView()
         Optional. The level of details of each report.
         Defaults to BASIC.
         
        .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         Optional. The maximum number of reports to return. The service may return
         fewer than this value. If unspecified, at most 500 reports will be
         returned. The maximum value is 1000; values above 1000 will be coerced to
         1000.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageSize in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListUtilizationReportsRequest.Builder setPageSize​(int value)
         Optional. The maximum number of reports to return. The service may return
         fewer than this value. If unspecified, at most 500 reports will be
         returned. The maximum value is 1000; values above 1000 will be coerced to
         1000.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListUtilizationReportsRequest.Builder clearPageSize()
         Optional. The maximum number of reports to return. The service may return
         fewer than this value. If unspecified, at most 500 reports will be
         returned. The maximum value is 1000; values above 1000 will be coerced to
         1000.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         Required. A page token, received from a previous `ListUtilizationReports`
         call. Provide this to retrieve the subsequent page.
        
         When paginating, all other parameters provided to `ListUtilizationReports`
         must match the call that provided the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPageToken in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Required. A page token, received from a previous `ListUtilizationReports`
         call. Provide this to retrieve the subsequent page.
        
         When paginating, all other parameters provided to `ListUtilizationReports`
         must match the call that provided the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPageTokenBytes in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListUtilizationReportsRequest.Builder setPageToken​(String value)
         Required. A page token, received from a previous `ListUtilizationReports`
         call. Provide this to retrieve the subsequent page.
        
         When paginating, all other parameters provided to `ListUtilizationReports`
         must match the call that provided the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListUtilizationReportsRequest.Builder clearPageToken()
         Required. A page token, received from a previous `ListUtilizationReports`
         call. Provide this to retrieve the subsequent page.
        
         When paginating, all other parameters provided to `ListUtilizationReports`
         must match the call that provided the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListUtilizationReportsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Required. A page token, received from a previous `ListUtilizationReports`
         call. Provide this to retrieve the subsequent page.
        
         When paginating, all other parameters provided to `ListUtilizationReports`
         must match the call that provided the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Optional. The filter request.
         
        string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFilterBytes in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListUtilizationReportsRequest.Builder setFilter​(String value)
         Optional. The filter request.
         
        string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListUtilizationReportsRequest.Builder clearFilter()
         Optional. The filter request.
         
        string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListUtilizationReportsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Optional. The filter request.
         
        string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getOrderByBytes

        public com.google.protobuf.ByteString getOrderByBytes()
         Optional. the order by fields for the result.
         
        string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getOrderByBytes in interface ListUtilizationReportsRequestOrBuilder
        Returns:
        The bytes for orderBy.
      • setOrderBy

        public ListUtilizationReportsRequest.Builder setOrderBy​(String value)
         Optional. the order by fields for the result.
         
        string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The orderBy to set.
        Returns:
        This builder for chaining.
      • clearOrderBy

        public ListUtilizationReportsRequest.Builder clearOrderBy()
         Optional. the order by fields for the result.
         
        string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setOrderByBytes

        public ListUtilizationReportsRequest.Builder setOrderByBytes​(com.google.protobuf.ByteString value)
         Optional. the order by fields for the result.
         
        string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for orderBy to set.
        Returns:
        This builder for chaining.