public final class PutMetadata extends GeneratedMessageV3 implements PutMetadataOrBuilder
   
   Describes options for object metadata update.
 Protobuf type google.cloud.storagebatchoperations.v1.PutMetadata
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  
  
    public static final int CACHE_CONTROL_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CONTENT_DISPOSITION_FIELD_NUMBER
  
    public static final int CONTENT_DISPOSITION_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CONTENT_ENCODING_FIELD_NUMBER
  
    public static final int CONTENT_ENCODING_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CONTENT_LANGUAGE_FIELD_NUMBER
  
    public static final int CONTENT_LANGUAGE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CONTENT_TYPE_FIELD_NUMBER
  
    public static final int CONTENT_TYPE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  
    public static final int CUSTOM_METADATA_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  
    public static final int CUSTOM_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  
  
    public static PutMetadata getDefaultInstance()
   
  
  
  
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  
  
    public static PutMetadata.Builder newBuilder()
   
  
  
  
  
    public static PutMetadata.Builder newBuilder(PutMetadata prototype)
   
  
  
  
  
  
    public static PutMetadata parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static PutMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  
  
    public static PutMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(ByteString data)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(ByteBuffer data)
   
  
  
  
  
  
  
    public static PutMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Parser<PutMetadata> parser()
   
  
  Methods
  
  
  
  
    public boolean containsCustomMetadata(String key)
   
   Optional. Updates objects custom metadata. Adds or sets individual custom
 metadata key value pairs on objects. Keys that are set with empty custom
 metadata values will have its value cleared. Existing custom metadata not
 specified with this flag is not changed. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#custom-metadata
 map<string, string> custom_metadata = 7 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | key | String
 | 
    
  
  
  
  
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  
  
    public String getCacheControl()
   
   Optional. Updates objects Cache-Control fixed metadata. Unset values will
 be
  ignored. Set empty values to clear the metadata.
  Additionally, the value for Custom-Time cannot decrease. Refer to
  documentation in
 https://cloud.google.com/storage/docs/metadata#caching_data.
 optional string cache_control = 5 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The cacheControl. | 
    
  
  
  
  
    public ByteString getCacheControlBytes()
   
   Optional. Updates objects Cache-Control fixed metadata. Unset values will
 be
  ignored. Set empty values to clear the metadata.
  Additionally, the value for Custom-Time cannot decrease. Refer to
  documentation in
 https://cloud.google.com/storage/docs/metadata#caching_data.
 optional string cache_control = 5 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for cacheControl. | 
    
  
  
  getContentDisposition()
  
    public String getContentDisposition()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The contentDisposition. | 
    
  
  
  getContentDispositionBytes()
  
    public ByteString getContentDispositionBytes()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for contentDisposition. | 
    
  
  
  getContentEncoding()
  
    public String getContentEncoding()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The contentEncoding. | 
    
  
  
  getContentEncodingBytes()
  
    public ByteString getContentEncodingBytes()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for contentEncoding. | 
    
  
  
  getContentLanguage()
  
    public String getContentLanguage()
   
   Optional. Updates objects Content-Language fixed metadata. Refer to ISO
 639-1 language codes for typical values of this metadata. Max length 100
 characters. Unset values will be ignored. Set empty values to clear the
 metadata. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#content-language.
 optional string content_language = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The contentLanguage. | 
    
  
  
  getContentLanguageBytes()
  
    public ByteString getContentLanguageBytes()
   
   Optional. Updates objects Content-Language fixed metadata. Refer to ISO
 639-1 language codes for typical values of this metadata. Max length 100
 characters. Unset values will be ignored. Set empty values to clear the
 metadata. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#content-language.
 optional string content_language = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for contentLanguage. | 
    
  
  
  getContentType()
  
    public String getContentType()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The contentType. | 
    
  
  
  getContentTypeBytes()
  
    public ByteString getContentTypeBytes()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for contentType. | 
    
  
  
  
  
    public Map<String,String> getCustomMetadata()
   
  
  
  
  
  
    public int getCustomMetadataCount()
   
   Optional. Updates objects custom metadata. Adds or sets individual custom
 metadata key value pairs on objects. Keys that are set with empty custom
 metadata values will have its value cleared. Existing custom metadata not
 specified with this flag is not changed. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#custom-metadata
 map<string, string> custom_metadata = 7 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  
  
    public Map<String,String> getCustomMetadataMap()
   
   Optional. Updates objects custom metadata. Adds or sets individual custom
 metadata key value pairs on objects. Keys that are set with empty custom
 metadata values will have its value cleared. Existing custom metadata not
 specified with this flag is not changed. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#custom-metadata
 map<string, string> custom_metadata = 7 [(.google.api.field_behavior) = OPTIONAL];
 
    public String getCustomMetadataOrDefault(String key, String defaultValue)
   
   Optional. Updates objects custom metadata. Adds or sets individual custom
 metadata key value pairs on objects. Keys that are set with empty custom
 metadata values will have its value cleared. Existing custom metadata not
 specified with this flag is not changed. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#custom-metadata
 map<string, string> custom_metadata = 7 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String |  | 
    
  
  
  
  
    public String getCustomMetadataOrThrow(String key)
   
   Optional. Updates objects custom metadata. Adds or sets individual custom
 metadata key value pairs on objects. Keys that are set with empty custom
 metadata values will have its value cleared. Existing custom metadata not
 specified with this flag is not changed. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#custom-metadata
 map<string, string> custom_metadata = 7 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | key | String
 | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String |  | 
    
  
  
  
  
    public String getCustomTime()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The customTime. | 
    
  
  
  
  
    public ByteString getCustomTimeBytes()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for customTime. | 
    
  
  
  
  
    public PutMetadata getDefaultInstanceForType()
   
  
  
  
  
    public Parser<PutMetadata> getParserForType()
   
  
  Overrides
  
  
  
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  
  
    public boolean hasCacheControl()
   
   Optional. Updates objects Cache-Control fixed metadata. Unset values will
 be
  ignored. Set empty values to clear the metadata.
  Additionally, the value for Custom-Time cannot decrease. Refer to
  documentation in
 https://cloud.google.com/storage/docs/metadata#caching_data.
 optional string cache_control = 5 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the cacheControl field is set. | 
    
  
  
  hasContentDisposition()
  
    public boolean hasContentDisposition()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the contentDisposition field is set. | 
    
  
  
  hasContentEncoding()
  
    public boolean hasContentEncoding()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the contentEncoding field is set. | 
    
  
  
  hasContentLanguage()
  
    public boolean hasContentLanguage()
   
   Optional. Updates objects Content-Language fixed metadata. Refer to ISO
 639-1 language codes for typical values of this metadata. Max length 100
 characters. Unset values will be ignored. Set empty values to clear the
 metadata. Refer to documentation in
 https://cloud.google.com/storage/docs/metadata#content-language.
 optional string content_language = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the contentLanguage field is set. | 
    
  
  
  hasContentType()
  
    public boolean hasContentType()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the contentType field is set. | 
    
  
  
  
  
    public boolean hasCustomTime()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the customTime field is set. | 
    
  
  
  
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  
  
    protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | number | int
 | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | com.google.protobuf.MapFieldReflectionAccessor |  | 
    
  
  Overrides
  com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
  
  
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  
  
    public PutMetadata.Builder newBuilderForType()
   
  
  
  
  
    protected PutMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  
  
    public PutMetadata.Builder toBuilder()
   
  
  
  
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides