Class UpdateNamespaceTagsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
- io.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateNamespaceTagsRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- UpdateNamespaceTagsRequest
public static final class UpdateNamespaceTagsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder> implements UpdateNamespaceTagsRequestOrBuilder
Protobuf typetemporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UpdateNamespaceTagsRequest.BuilderaddAllTagsToRemove(java.lang.Iterable<java.lang.String> values)A list of tag keys to remove.UpdateNamespaceTagsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)UpdateNamespaceTagsRequest.BuilderaddTagsToRemove(java.lang.String value)A list of tag keys to remove.UpdateNamespaceTagsRequest.BuilderaddTagsToRemoveBytes(com.google.protobuf.ByteString value)A list of tag keys to remove.UpdateNamespaceTagsRequestbuild()UpdateNamespaceTagsRequestbuildPartial()UpdateNamespaceTagsRequest.Builderclear()UpdateNamespaceTagsRequest.BuilderclearAsyncOperationId()The id to use for this async operation - optional.UpdateNamespaceTagsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UpdateNamespaceTagsRequest.BuilderclearNamespace()The namespace to set tags for.UpdateNamespaceTagsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UpdateNamespaceTagsRequest.BuilderclearTagsToRemove()A list of tag keys to remove.UpdateNamespaceTagsRequest.BuilderclearTagsToUpsert()UpdateNamespaceTagsRequest.Builderclone()booleancontainsTagsToUpsert(java.lang.String key)A list of tags to add or update.java.lang.StringgetAsyncOperationId()The id to use for this async operation - optional.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id to use for this async operation - optional.UpdateNamespaceTagsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.String,java.lang.String>getMutableTagsToUpsert()Deprecated.java.lang.StringgetNamespace()The namespace to set tags for.com.google.protobuf.ByteStringgetNamespaceBytes()The namespace to set tags for.java.lang.StringgetTagsToRemove(int index)A list of tag keys to remove.com.google.protobuf.ByteStringgetTagsToRemoveBytes(int index)A list of tag keys to remove.intgetTagsToRemoveCount()A list of tag keys to remove.com.google.protobuf.ProtocolStringListgetTagsToRemoveList()A list of tag keys to remove.java.util.Map<java.lang.String,java.lang.String>getTagsToUpsert()Deprecated.intgetTagsToUpsertCount()A list of tags to add or update.java.util.Map<java.lang.String,java.lang.String>getTagsToUpsertMap()A list of tags to add or update.java.lang.StringgetTagsToUpsertOrDefault(java.lang.String key, java.lang.String defaultValue)A list of tags to add or update.java.lang.StringgetTagsToUpsertOrThrow(java.lang.String key)A list of tags to add or update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()UpdateNamespaceTagsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UpdateNamespaceTagsRequest.BuildermergeFrom(com.google.protobuf.Message other)UpdateNamespaceTagsRequest.BuildermergeFrom(UpdateNamespaceTagsRequest other)UpdateNamespaceTagsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateNamespaceTagsRequest.BuilderputAllTagsToUpsert(java.util.Map<java.lang.String,java.lang.String> values)A list of tags to add or update.UpdateNamespaceTagsRequest.BuilderputTagsToUpsert(java.lang.String key, java.lang.String value)A list of tags to add or update.UpdateNamespaceTagsRequest.BuilderremoveTagsToUpsert(java.lang.String key)A list of tags to add or update.UpdateNamespaceTagsRequest.BuildersetAsyncOperationId(java.lang.String value)The id to use for this async operation - optional.UpdateNamespaceTagsRequest.BuildersetAsyncOperationIdBytes(com.google.protobuf.ByteString value)The id to use for this async operation - optional.UpdateNamespaceTagsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)UpdateNamespaceTagsRequest.BuildersetNamespace(java.lang.String value)The namespace to set tags for.UpdateNamespaceTagsRequest.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)The namespace to set tags for.UpdateNamespaceTagsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)UpdateNamespaceTagsRequest.BuildersetTagsToRemove(int index, java.lang.String value)A list of tag keys to remove.UpdateNamespaceTagsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
clear
public UpdateNamespaceTagsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
getDefaultInstanceForType
public UpdateNamespaceTagsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateNamespaceTagsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateNamespaceTagsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateNamespaceTagsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
setField
public UpdateNamespaceTagsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
clearField
public UpdateNamespaceTagsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
clearOneof
public UpdateNamespaceTagsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
setRepeatedField
public UpdateNamespaceTagsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
addRepeatedField
public UpdateNamespaceTagsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
mergeFrom
public UpdateNamespaceTagsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateNamespaceTagsRequest.Builder>
-
mergeFrom
public UpdateNamespaceTagsRequest.Builder mergeFrom(UpdateNamespaceTagsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
mergeFrom
public UpdateNamespaceTagsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateNamespaceTagsRequest.Builder>- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
The namespace to set tags for.
string namespace = 1;- Specified by:
getNamespacein interfaceUpdateNamespaceTagsRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
The namespace to set tags for.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUpdateNamespaceTagsRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public UpdateNamespaceTagsRequest.Builder setNamespace(java.lang.String value)
The namespace to set tags for.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public UpdateNamespaceTagsRequest.Builder clearNamespace()
The namespace to set tags for.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public UpdateNamespaceTagsRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace to set tags for.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getTagsToUpsertCount
public int getTagsToUpsertCount()
Description copied from interface:UpdateNamespaceTagsRequestOrBuilderA list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;- Specified by:
getTagsToUpsertCountin interfaceUpdateNamespaceTagsRequestOrBuilder
-
containsTagsToUpsert
public boolean containsTagsToUpsert(java.lang.String key)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;- Specified by:
containsTagsToUpsertin interfaceUpdateNamespaceTagsRequestOrBuilder
-
getTagsToUpsert
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTagsToUpsert()
Deprecated.UsegetTagsToUpsertMap()instead.- Specified by:
getTagsToUpsertin interfaceUpdateNamespaceTagsRequestOrBuilder
-
getTagsToUpsertMap
public java.util.Map<java.lang.String,java.lang.String> getTagsToUpsertMap()
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;- Specified by:
getTagsToUpsertMapin interfaceUpdateNamespaceTagsRequestOrBuilder
-
getTagsToUpsertOrDefault
public java.lang.String getTagsToUpsertOrDefault(java.lang.String key, java.lang.String defaultValue)A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;- Specified by:
getTagsToUpsertOrDefaultin interfaceUpdateNamespaceTagsRequestOrBuilder
-
getTagsToUpsertOrThrow
public java.lang.String getTagsToUpsertOrThrow(java.lang.String key)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;- Specified by:
getTagsToUpsertOrThrowin interfaceUpdateNamespaceTagsRequestOrBuilder
-
clearTagsToUpsert
public UpdateNamespaceTagsRequest.Builder clearTagsToUpsert()
-
removeTagsToUpsert
public UpdateNamespaceTagsRequest.Builder removeTagsToUpsert(java.lang.String key)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;
-
getMutableTagsToUpsert
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableTagsToUpsert()
Deprecated.Use alternate mutation accessors instead.
-
putTagsToUpsert
public UpdateNamespaceTagsRequest.Builder putTagsToUpsert(java.lang.String key, java.lang.String value)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;
-
putAllTagsToUpsert
public UpdateNamespaceTagsRequest.Builder putAllTagsToUpsert(java.util.Map<java.lang.String,java.lang.String> values)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.
map<string, string> tags_to_upsert = 2;
-
getTagsToRemoveList
public com.google.protobuf.ProtocolStringList getTagsToRemoveList()
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Specified by:
getTagsToRemoveListin interfaceUpdateNamespaceTagsRequestOrBuilder- Returns:
- A list containing the tagsToRemove.
-
getTagsToRemoveCount
public int getTagsToRemoveCount()
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Specified by:
getTagsToRemoveCountin interfaceUpdateNamespaceTagsRequestOrBuilder- Returns:
- The count of tagsToRemove.
-
getTagsToRemove
public java.lang.String getTagsToRemove(int index)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Specified by:
getTagsToRemovein interfaceUpdateNamespaceTagsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tagsToRemove at the given index.
-
getTagsToRemoveBytes
public com.google.protobuf.ByteString getTagsToRemoveBytes(int index)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Specified by:
getTagsToRemoveBytesin interfaceUpdateNamespaceTagsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tagsToRemove at the given index.
-
setTagsToRemove
public UpdateNamespaceTagsRequest.Builder setTagsToRemove(int index, java.lang.String value)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Parameters:
index- The index to set the value at.value- The tagsToRemove to set.- Returns:
- This builder for chaining.
-
addTagsToRemove
public UpdateNamespaceTagsRequest.Builder addTagsToRemove(java.lang.String value)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Parameters:
value- The tagsToRemove to add.- Returns:
- This builder for chaining.
-
addAllTagsToRemove
public UpdateNamespaceTagsRequest.Builder addAllTagsToRemove(java.lang.Iterable<java.lang.String> values)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Parameters:
values- The tagsToRemove to add.- Returns:
- This builder for chaining.
-
clearTagsToRemove
public UpdateNamespaceTagsRequest.Builder clearTagsToRemove()
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Returns:
- This builder for chaining.
-
addTagsToRemoveBytes
public UpdateNamespaceTagsRequest.Builder addTagsToRemoveBytes(com.google.protobuf.ByteString value)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.
repeated string tags_to_remove = 3;- Parameters:
value- The bytes of the tagsToRemove to add.- Returns:
- This builder for chaining.
-
getAsyncOperationId
public java.lang.String getAsyncOperationId()
The id to use for this async operation - optional.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdin interfaceUpdateNamespaceTagsRequestOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()
The id to use for this async operation - optional.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdBytesin interfaceUpdateNamespaceTagsRequestOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
public UpdateNamespaceTagsRequest.Builder setAsyncOperationId(java.lang.String value)
The id to use for this async operation - optional.
string async_operation_id = 4;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
public UpdateNamespaceTagsRequest.Builder clearAsyncOperationId()
The id to use for this async operation - optional.
string async_operation_id = 4;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public UpdateNamespaceTagsRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
The id to use for this async operation - optional.
string async_operation_id = 4;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateNamespaceTagsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
mergeUnknownFields
public final UpdateNamespaceTagsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
-
-