Class TailLogEntriesRequest.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<TailLogEntriesRequest.Builder>
      • clear

        public TailLogEntriesRequest.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.GeneratedMessageV3.Builder<TailLogEntriesRequest.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<TailLogEntriesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public TailLogEntriesRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>
      • clearField

        public TailLogEntriesRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>
      • clearOneof

        public TailLogEntriesRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>
      • setRepeatedField

        public TailLogEntriesRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>
      • addRepeatedField

        public TailLogEntriesRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>
      • mergeFrom

        public TailLogEntriesRequest.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<TailLogEntriesRequest.Builder>
        Throws:
        IOException
      • getResourceNamesList

        public com.google.protobuf.ProtocolStringList getResourceNamesList()
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getResourceNamesList in interface TailLogEntriesRequestOrBuilder
        Returns:
        A list containing the resourceNames.
      • getResourceNamesCount

        public int getResourceNamesCount()
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getResourceNamesCount in interface TailLogEntriesRequestOrBuilder
        Returns:
        The count of resourceNames.
      • getResourceNames

        public String getResourceNames​(int index)
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getResourceNames in interface TailLogEntriesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resourceNames at the given index.
      • getResourceNamesBytes

        public com.google.protobuf.ByteString getResourceNamesBytes​(int index)
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getResourceNamesBytes in interface TailLogEntriesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resourceNames at the given index.
      • setResourceNames

        public TailLogEntriesRequest.Builder setResourceNames​(int index,
                                                              String value)
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index to set the value at.
        value - The resourceNames to set.
        Returns:
        This builder for chaining.
      • addResourceNames

        public TailLogEntriesRequest.Builder addResourceNames​(String value)
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The resourceNames to add.
        Returns:
        This builder for chaining.
      • addAllResourceNames

        public TailLogEntriesRequest.Builder addAllResourceNames​(Iterable<String> values)
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        values - The resourceNames to add.
        Returns:
        This builder for chaining.
      • clearResourceNames

        public TailLogEntriesRequest.Builder clearResourceNames()
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • addResourceNamesBytes

        public TailLogEntriesRequest.Builder addResourceNamesBytes​(com.google.protobuf.ByteString value)
         Required. Name of a parent resource from which to retrieve log entries:
        
         *  `projects/[PROJECT_ID]`
         *  `organizations/[ORGANIZATION_ID]`
         *  `billingAccounts/[BILLING_ACCOUNT_ID]`
         *  `folders/[FOLDER_ID]`
        
         May alternatively be one or more views:
        
          * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
          * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
         
        repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes of the resourceNames to add.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         Optional. Only log entries that match the filter are returned.  An empty
         filter matches all log entries in the resources listed in `resource_names`.
         Referencing a parent resource that is not listed in `resource_names` will
         cause the filter to return no results. The maximum length of a filter is
         20,000 characters.
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFilter in interface TailLogEntriesRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Optional. Only log entries that match the filter are returned.  An empty
         filter matches all log entries in the resources listed in `resource_names`.
         Referencing a parent resource that is not listed in `resource_names` will
         cause the filter to return no results. The maximum length of a filter is
         20,000 characters.
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFilterBytes in interface TailLogEntriesRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public TailLogEntriesRequest.Builder setFilter​(String value)
         Optional. Only log entries that match the filter are returned.  An empty
         filter matches all log entries in the resources listed in `resource_names`.
         Referencing a parent resource that is not listed in `resource_names` will
         cause the filter to return no results. The maximum length of a filter is
         20,000 characters.
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public TailLogEntriesRequest.Builder clearFilter()
         Optional. Only log entries that match the filter are returned.  An empty
         filter matches all log entries in the resources listed in `resource_names`.
         Referencing a parent resource that is not listed in `resource_names` will
         cause the filter to return no results. The maximum length of a filter is
         20,000 characters.
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setFilterBytes

        public TailLogEntriesRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Optional. Only log entries that match the filter are returned.  An empty
         filter matches all log entries in the resources listed in `resource_names`.
         Referencing a parent resource that is not listed in `resource_names` will
         cause the filter to return no results. The maximum length of a filter is
         20,000 characters.
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • hasBufferWindow

        public boolean hasBufferWindow()
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasBufferWindow in interface TailLogEntriesRequestOrBuilder
        Returns:
        Whether the bufferWindow field is set.
      • getBufferWindow

        public com.google.protobuf.Duration getBufferWindow()
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getBufferWindow in interface TailLogEntriesRequestOrBuilder
        Returns:
        The bufferWindow.
      • setBufferWindow

        public TailLogEntriesRequest.Builder setBufferWindow​(com.google.protobuf.Duration value)
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
      • setBufferWindow

        public TailLogEntriesRequest.Builder setBufferWindow​(com.google.protobuf.Duration.Builder builderForValue)
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
      • mergeBufferWindow

        public TailLogEntriesRequest.Builder mergeBufferWindow​(com.google.protobuf.Duration value)
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
      • clearBufferWindow

        public TailLogEntriesRequest.Builder clearBufferWindow()
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getBufferWindowBuilder

        public com.google.protobuf.Duration.Builder getBufferWindowBuilder()
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getBufferWindowOrBuilder

        public com.google.protobuf.DurationOrBuilder getBufferWindowOrBuilder()
         Optional. The amount of time to buffer log entries at the server before
         being returned to prevent out of order results due to late arriving log
         entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
         milliseconds.
         
        .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getBufferWindowOrBuilder in interface TailLogEntriesRequestOrBuilder
      • setUnknownFields

        public final TailLogEntriesRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>
      • mergeUnknownFields

        public final TailLogEntriesRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TailLogEntriesRequest.Builder>