Class DataUpdateAction.Builder

  • All Implemented Interfaces:
    DataUpdateActionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    DataUpdateAction

    public static final class DataUpdateAction.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
    implements DataUpdateActionOrBuilder
     Represents the action responsible for properties update operations.
     
    Protobuf type google.cloud.contentwarehouse.v1.DataUpdateAction
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
      • clear

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

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

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

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

        public DataUpdateAction.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<DataUpdateAction.Builder>
      • setField

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

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

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

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

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

        public DataUpdateAction.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataUpdateAction.Builder>
      • isInitialized

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

        public DataUpdateAction.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<DataUpdateAction.Builder>
        Throws:
        IOException
      • getEntriesCount

        public int getEntriesCount()
        Description copied from interface: DataUpdateActionOrBuilder
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
        Specified by:
        getEntriesCount in interface DataUpdateActionOrBuilder
      • containsEntries

        public boolean containsEntries​(String key)
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
        Specified by:
        containsEntries in interface DataUpdateActionOrBuilder
      • getEntriesMap

        public Map<String,​String> getEntriesMap()
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
        Specified by:
        getEntriesMap in interface DataUpdateActionOrBuilder
      • getEntriesOrDefault

        public String getEntriesOrDefault​(String key,
                                          String defaultValue)
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
        Specified by:
        getEntriesOrDefault in interface DataUpdateActionOrBuilder
      • getEntriesOrThrow

        public String getEntriesOrThrow​(String key)
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
        Specified by:
        getEntriesOrThrow in interface DataUpdateActionOrBuilder
      • removeEntries

        public DataUpdateAction.Builder removeEntries​(String key)
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
      • getMutableEntries

        @Deprecated
        public Map<String,​String> getMutableEntries()
        Deprecated.
        Use alternate mutation accessors instead.
      • putEntries

        public DataUpdateAction.Builder putEntries​(String key,
                                                   String value)
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
      • putAllEntries

        public DataUpdateAction.Builder putAllEntries​(Map<String,​String> values)
         Map of (K, V) -> (valid name of the field, new value of the field)
         E.g., ("age", "60") entry triggers update of field age with a value of 60.
         If the field is not present then new entry is added.
         During update action execution, value strings will be casted to
         appropriate types.
         
        map<string, string> entries = 1;
      • setUnknownFields

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

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