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

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

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

        public ImportMappingRulesRequest.RulesFile 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<ImportMappingRulesRequest.RulesFile.Builder>
      • getRulesSourceFilename

        public String getRulesSourceFilename()
         Required. The filename of the rules that needs to be converted. The
         filename is used mainly so that future logs of the import rules job
         contain it, and can therefore be searched by it.
         
        string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRulesSourceFilename in interface ImportMappingRulesRequest.RulesFileOrBuilder
        Returns:
        The rulesSourceFilename.
      • getRulesSourceFilenameBytes

        public com.google.protobuf.ByteString getRulesSourceFilenameBytes()
         Required. The filename of the rules that needs to be converted. The
         filename is used mainly so that future logs of the import rules job
         contain it, and can therefore be searched by it.
         
        string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRulesSourceFilenameBytes in interface ImportMappingRulesRequest.RulesFileOrBuilder
        Returns:
        The bytes for rulesSourceFilename.
      • setRulesSourceFilename

        public ImportMappingRulesRequest.RulesFile.Builder setRulesSourceFilename​(String value)
         Required. The filename of the rules that needs to be converted. The
         filename is used mainly so that future logs of the import rules job
         contain it, and can therefore be searched by it.
         
        string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The rulesSourceFilename to set.
        Returns:
        This builder for chaining.
      • clearRulesSourceFilename

        public ImportMappingRulesRequest.RulesFile.Builder clearRulesSourceFilename()
         Required. The filename of the rules that needs to be converted. The
         filename is used mainly so that future logs of the import rules job
         contain it, and can therefore be searched by it.
         
        string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setRulesSourceFilenameBytes

        public ImportMappingRulesRequest.RulesFile.Builder setRulesSourceFilenameBytes​(com.google.protobuf.ByteString value)
         Required. The filename of the rules that needs to be converted. The
         filename is used mainly so that future logs of the import rules job
         contain it, and can therefore be searched by it.
         
        string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for rulesSourceFilename to set.
        Returns:
        This builder for chaining.
      • getRulesContentBytes

        public com.google.protobuf.ByteString getRulesContentBytes()
         Required. The text content of the rules that needs to be converted.
         
        string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRulesContentBytes in interface ImportMappingRulesRequest.RulesFileOrBuilder
        Returns:
        The bytes for rulesContent.
      • setRulesContent

        public ImportMappingRulesRequest.RulesFile.Builder setRulesContent​(String value)
         Required. The text content of the rules that needs to be converted.
         
        string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The rulesContent to set.
        Returns:
        This builder for chaining.
      • clearRulesContent

        public ImportMappingRulesRequest.RulesFile.Builder clearRulesContent()
         Required. The text content of the rules that needs to be converted.
         
        string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setRulesContentBytes

        public ImportMappingRulesRequest.RulesFile.Builder setRulesContentBytes​(com.google.protobuf.ByteString value)
         Required. The text content of the rules that needs to be converted.
         
        string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for rulesContent to set.
        Returns:
        This builder for chaining.