public final class UpdateObjectCustomContext extends GeneratedMessage implements UpdateObjectCustomContextOrBuilderDescribes options to update object custom contexts.
Protobuf type google.cloud.storagebatchoperations.v1.UpdateObjectCustomContext
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UpdateObjectCustomContextImplements
UpdateObjectCustomContextOrBuilderStatic Fields
CLEAR_ALL_FIELD_NUMBER
public static final int CLEAR_ALL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CUSTOM_CONTEXT_UPDATES_FIELD_NUMBER
public static final int CUSTOM_CONTEXT_UPDATES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateObjectCustomContext getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UpdateObjectCustomContext.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
newBuilder(UpdateObjectCustomContext prototype)
public static UpdateObjectCustomContext.Builder newBuilder(UpdateObjectCustomContext prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UpdateObjectCustomContext |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
parseDelimitedFrom(InputStream input)
public static UpdateObjectCustomContext parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateObjectCustomContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UpdateObjectCustomContext parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateObjectCustomContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UpdateObjectCustomContext parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateObjectCustomContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UpdateObjectCustomContext parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateObjectCustomContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UpdateObjectCustomContext parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateObjectCustomContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UpdateObjectCustomContext parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateObjectCustomContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UpdateObjectCustomContext> parser()| Returns | |
|---|---|
| Type | Description |
Parser<UpdateObjectCustomContext> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getActionCase()
public UpdateObjectCustomContext.ActionCase getActionCase()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.ActionCase |
|
getClearAll()
public boolean getClearAll()If set, must be set to true and all existing object custom contexts will be deleted.
bool clear_all = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The clearAll. |
getCustomContextUpdates()
public CustomContextUpdates getCustomContextUpdates()A collection of updates to apply to specific custom contexts. Use this to add, update or delete individual contexts by key.
.google.cloud.storagebatchoperations.v1.CustomContextUpdates custom_context_updates = 1;
| Returns | |
|---|---|
| Type | Description |
CustomContextUpdates |
The customContextUpdates. |
getCustomContextUpdatesOrBuilder()
public CustomContextUpdatesOrBuilder getCustomContextUpdatesOrBuilder()A collection of updates to apply to specific custom contexts. Use this to add, update or delete individual contexts by key.
.google.cloud.storagebatchoperations.v1.CustomContextUpdates custom_context_updates = 1;
| Returns | |
|---|---|
| Type | Description |
CustomContextUpdatesOrBuilder |
|
getDefaultInstanceForType()
public UpdateObjectCustomContext getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
getParserForType()
public Parser<UpdateObjectCustomContext> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UpdateObjectCustomContext> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasClearAll()
public boolean hasClearAll()If set, must be set to true and all existing object custom contexts will be deleted.
bool clear_all = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the clearAll field is set. |
hasCustomContextUpdates()
public boolean hasCustomContextUpdates()A collection of updates to apply to specific custom contexts. Use this to add, update or delete individual contexts by key.
.google.cloud.storagebatchoperations.v1.CustomContextUpdates custom_context_updates = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customContextUpdates field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public UpdateObjectCustomContext.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UpdateObjectCustomContext.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
toBuilder()
public UpdateObjectCustomContext.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|