Interface UpdateNamespaceTagsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateNamespaceTagsRequest,UpdateNamespaceTagsRequest.Builder
@Generated(value="protoc", comments="annotations:UpdateNamespaceTagsRequestOrBuilder.java.pb.meta") public interface UpdateNamespaceTagsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.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.java.util.List<java.lang.String>getTagsToRemoveList()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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.String getNamespace()
The namespace to set tags for.
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
The namespace to set tags for.
string namespace = 1;- Returns:
- The bytes for namespace.
-
getTagsToUpsertCount
int getTagsToUpsertCount()
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;
-
containsTagsToUpsert
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;
-
getTagsToUpsert
@Deprecated java.util.Map<java.lang.String,java.lang.String> getTagsToUpsert()
Deprecated.UsegetTagsToUpsertMap()instead.
-
getTagsToUpsertMap
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;
-
getTagsToUpsertOrDefault
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;
-
getTagsToUpsertOrThrow
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;
-
getTagsToRemoveList
java.util.List<java.lang.String> 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;- Returns:
- A list containing the tagsToRemove.
-
getTagsToRemoveCount
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;- Returns:
- The count of tagsToRemove.
-
getTagsToRemove
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;- Parameters:
index- The index of the element to return.- Returns:
- The tagsToRemove at the given index.
-
getTagsToRemoveBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tagsToRemove at the given index.
-
getAsyncOperationId
java.lang.String getAsyncOperationId()
The id to use for this async operation - optional.
string async_operation_id = 4;- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
com.google.protobuf.ByteString getAsyncOperationIdBytes()
The id to use for this async operation - optional.
string async_operation_id = 4;- Returns:
- The bytes for asyncOperationId.
-
-