public static final class UpdateObjectCustomContext.Builder extends GeneratedMessage.Builder<UpdateObjectCustomContext.Builder> implements UpdateObjectCustomContextOrBuilderDescribes options to update object custom contexts.
Protobuf type google.cloud.storagebatchoperations.v1.UpdateObjectCustomContext
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateObjectCustomContext.BuilderImplements
UpdateObjectCustomContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateObjectCustomContext build()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
buildPartial()
public UpdateObjectCustomContext buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext |
|
clear()
public UpdateObjectCustomContext.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
clearAction()
public UpdateObjectCustomContext.Builder clearAction()| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
clearClearAll()
public UpdateObjectCustomContext.Builder clearClearAll()If set, must be set to true and all existing object custom contexts will be deleted.
bool clear_all = 2;
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
This builder for chaining. |
clearCustomContextUpdates()
public UpdateObjectCustomContext.Builder clearCustomContextUpdates()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 |
UpdateObjectCustomContext.Builder |
|
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. |
getCustomContextUpdatesBuilder()
public CustomContextUpdates.Builder getCustomContextUpdatesBuilder()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.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomContextUpdates(CustomContextUpdates value)
public UpdateObjectCustomContext.Builder mergeCustomContextUpdates(CustomContextUpdates value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomContextUpdates |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
mergeFrom(UpdateObjectCustomContext other)
public UpdateObjectCustomContext.Builder mergeFrom(UpdateObjectCustomContext other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateObjectCustomContext |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateObjectCustomContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateObjectCustomContext.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
setClearAll(boolean value)
public UpdateObjectCustomContext.Builder setClearAll(boolean value)If set, must be set to true and all existing object custom contexts will be deleted.
bool clear_all = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe clearAll to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
This builder for chaining. |
setCustomContextUpdates(CustomContextUpdates value)
public UpdateObjectCustomContext.Builder setCustomContextUpdates(CustomContextUpdates value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomContextUpdates |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|
setCustomContextUpdates(CustomContextUpdates.Builder builderForValue)
public UpdateObjectCustomContext.Builder setCustomContextUpdates(CustomContextUpdates.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomContextUpdates.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateObjectCustomContext.Builder |
|