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

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

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

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

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

        public UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>
      • clearField

        public UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>
      • clearOneof

        public UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>
      • setRepeatedField

        public UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>
      • addRepeatedField

        public UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>
      • isInitialized

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

        public UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The resource name of the exclusion to update:
        
             "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
             "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
             "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
             "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
        
         For example:
        
           `"projects/my-project/exclusions/my-exclusion"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface UpdateExclusionRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the exclusion to update:
        
             "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
             "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
             "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
             "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
        
         For example:
        
           `"projects/my-project/exclusions/my-exclusion"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface UpdateExclusionRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public UpdateExclusionRequest.Builder setName​(String value)
         Required. The resource name of the exclusion to update:
        
             "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
             "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
             "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
             "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
        
         For example:
        
           `"projects/my-project/exclusions/my-exclusion"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public UpdateExclusionRequest.Builder clearName()
         Required. The resource name of the exclusion to update:
        
             "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
             "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
             "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
             "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
        
         For example:
        
           `"projects/my-project/exclusions/my-exclusion"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public UpdateExclusionRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the exclusion to update:
        
             "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
             "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
             "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
             "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
        
         For example:
        
           `"projects/my-project/exclusions/my-exclusion"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasExclusion

        public boolean hasExclusion()
         Required. New values for the existing exclusion. Only the fields specified
         in `update_mask` are relevant.
         
        .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasExclusion in interface UpdateExclusionRequestOrBuilder
        Returns:
        Whether the exclusion field is set.
      • getExclusion

        public LogExclusion getExclusion()
         Required. New values for the existing exclusion. Only the fields specified
         in `update_mask` are relevant.
         
        .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExclusion in interface UpdateExclusionRequestOrBuilder
        Returns:
        The exclusion.
      • setExclusion

        public UpdateExclusionRequest.Builder setExclusion​(LogExclusion value)
         Required. New values for the existing exclusion. Only the fields specified
         in `update_mask` are relevant.
         
        .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
      • setExclusion

        public UpdateExclusionRequest.Builder setExclusion​(LogExclusion.Builder builderForValue)
         Required. New values for the existing exclusion. Only the fields specified
         in `update_mask` are relevant.
         
        .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeExclusion

        public UpdateExclusionRequest.Builder mergeExclusion​(LogExclusion value)
         Required. New values for the existing exclusion. Only the fields specified
         in `update_mask` are relevant.
         
        .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearExclusion

        public UpdateExclusionRequest.Builder clearExclusion()
         Required. New values for the existing exclusion. Only the fields specified
         in `update_mask` are relevant.
         
        .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
      • getExclusionBuilder

        public LogExclusion.Builder getExclusionBuilder()
         Required. New values for the existing exclusion. Only the fields specified
         in `update_mask` are relevant.
         
        .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateExclusionRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateExclusionRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateExclusionRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateExclusionRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public UpdateExclusionRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public UpdateExclusionRequest.Builder clearUpdateMask()
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. A non-empty list of fields to change in the existing exclusion.
         New values for the fields are taken from the corresponding fields in the
         [LogExclusion][google.logging.v2.LogExclusion] included in this request.
         Fields not mentioned in `update_mask` are not changed and are ignored in
         the request.
        
         For example, to change the filter and description of an exclusion,
         specify an `update_mask` of `"filter,description"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateExclusionRequestOrBuilder
      • setUnknownFields

        public final UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>
      • mergeUnknownFields

        public final UpdateExclusionRequest.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<UpdateExclusionRequest.Builder>