Class RenameCustomSearchAttributeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RenameCustomSearchAttributeRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RenameCustomSearchAttributeRequestOrBuilder,Cloneable
- Enclosing class:
RenameCustomSearchAttributeRequest
public static final class RenameCustomSearchAttributeRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
implements RenameCustomSearchAttributeRequestOrBuilder
Protobuf type
temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id to use for this async operation.The existing name of the custom search attribute to be renamed.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The namespace to rename the custom search attribute for.The new name of the custom search attribute.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The version of the namespace for which this update is intended for.clone()The id to use for this async operation.com.google.protobuf.ByteStringThe id to use for this async operation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe existing name of the custom search attribute to be renamed.com.google.protobuf.ByteStringThe existing name of the custom search attribute to be renamed.The namespace to rename the custom search attribute for.com.google.protobuf.ByteStringThe namespace to rename the custom search attribute for.The new name of the custom search attribute.com.google.protobuf.ByteStringThe new name of the custom search attribute.The version of the namespace for which this update is intended for.com.google.protobuf.ByteStringThe version of the namespace for which this update is intended for.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id to use for this async operation.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id to use for this async operation.The existing name of the custom search attribute to be renamed.setExistingCustomSearchAttributeNameBytes(com.google.protobuf.ByteString value) The existing name of the custom search attribute to be renamed.setNamespace(String value) The namespace to rename the custom search attribute for.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace to rename the custom search attribute for.The new name of the custom search attribute.setNewCustomSearchAttributeNameBytes(com.google.protobuf.ByteString value) The new name of the custom search attribute.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The version of the namespace for which this update is intended for.setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the namespace for which this update is intended for.setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.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<RenameCustomSearchAttributeRequest.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<RenameCustomSearchAttributeRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<RenameCustomSearchAttributeRequest.Builder>
-
setField
public RenameCustomSearchAttributeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-
clearField
public RenameCustomSearchAttributeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-
clearOneof
public RenameCustomSearchAttributeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-
setRepeatedField
public RenameCustomSearchAttributeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-
addRepeatedField
public RenameCustomSearchAttributeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RenameCustomSearchAttributeRequest.Builder>
-
mergeFrom
public RenameCustomSearchAttributeRequest.Builder mergeFrom(RenameCustomSearchAttributeRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-
mergeFrom
public RenameCustomSearchAttributeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RenameCustomSearchAttributeRequest.Builder>- Throws:
IOException
-
getNamespace
The namespace to rename the custom search attribute for.
string namespace = 1;- Specified by:
getNamespacein interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace to rename the custom search attribute for.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace to rename the custom search attribute for.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace to rename the custom search attribute for.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public RenameCustomSearchAttributeRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) The namespace to rename the custom search attribute for.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getExistingCustomSearchAttributeName
The existing name of the custom search attribute to be renamed.
string existing_custom_search_attribute_name = 2;- Specified by:
getExistingCustomSearchAttributeNamein interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The existingCustomSearchAttributeName.
-
getExistingCustomSearchAttributeNameBytes
public com.google.protobuf.ByteString getExistingCustomSearchAttributeNameBytes()The existing name of the custom search attribute to be renamed.
string existing_custom_search_attribute_name = 2;- Specified by:
getExistingCustomSearchAttributeNameBytesin interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The bytes for existingCustomSearchAttributeName.
-
setExistingCustomSearchAttributeName
public RenameCustomSearchAttributeRequest.Builder setExistingCustomSearchAttributeName(String value) The existing name of the custom search attribute to be renamed.
string existing_custom_search_attribute_name = 2;- Parameters:
value- The existingCustomSearchAttributeName to set.- Returns:
- This builder for chaining.
-
clearExistingCustomSearchAttributeName
The existing name of the custom search attribute to be renamed.
string existing_custom_search_attribute_name = 2;- Returns:
- This builder for chaining.
-
setExistingCustomSearchAttributeNameBytes
public RenameCustomSearchAttributeRequest.Builder setExistingCustomSearchAttributeNameBytes(com.google.protobuf.ByteString value) The existing name of the custom search attribute to be renamed.
string existing_custom_search_attribute_name = 2;- Parameters:
value- The bytes for existingCustomSearchAttributeName to set.- Returns:
- This builder for chaining.
-
getNewCustomSearchAttributeName
The new name of the custom search attribute.
string new_custom_search_attribute_name = 3;- Specified by:
getNewCustomSearchAttributeNamein interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The newCustomSearchAttributeName.
-
getNewCustomSearchAttributeNameBytes
public com.google.protobuf.ByteString getNewCustomSearchAttributeNameBytes()The new name of the custom search attribute.
string new_custom_search_attribute_name = 3;- Specified by:
getNewCustomSearchAttributeNameBytesin interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The bytes for newCustomSearchAttributeName.
-
setNewCustomSearchAttributeName
The new name of the custom search attribute.
string new_custom_search_attribute_name = 3;- Parameters:
value- The newCustomSearchAttributeName to set.- Returns:
- This builder for chaining.
-
clearNewCustomSearchAttributeName
The new name of the custom search attribute.
string new_custom_search_attribute_name = 3;- Returns:
- This builder for chaining.
-
setNewCustomSearchAttributeNameBytes
public RenameCustomSearchAttributeRequest.Builder setNewCustomSearchAttributeNameBytes(com.google.protobuf.ByteString value) The new name of the custom search attribute.
string new_custom_search_attribute_name = 3;- Parameters:
value- The bytes for newCustomSearchAttributeName to set.- Returns:
- This builder for chaining.
-
getResourceVersion
The version of the namespace for which this update is intended for. The latest version can be found in the namespace status.
string resource_version = 4;- Specified by:
getResourceVersionin interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The version of the namespace for which this update is intended for. The latest version can be found in the namespace status.
string resource_version = 4;- Specified by:
getResourceVersionBytesin interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The version of the namespace for which this update is intended for. The latest version can be found in the namespace status.
string resource_version = 4;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
The version of the namespace for which this update is intended for. The latest version can be found in the namespace status.
string resource_version = 4;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public RenameCustomSearchAttributeRequest.Builder setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the namespace for which this update is intended for. The latest version can be found in the namespace status.
string resource_version = 4;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
getAsyncOperationId
The id to use for this async operation. Optional, if not provided a random id will be generated.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdin interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The id to use for this async operation. Optional, if not provided a random id will be generated.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceRenameCustomSearchAttributeRequestOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The id to use for this async operation. Optional, if not provided a random id will be generated.
string async_operation_id = 5;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
The id to use for this async operation. Optional, if not provided a random id will be generated.
string async_operation_id = 5;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public RenameCustomSearchAttributeRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id to use for this async operation. Optional, if not provided a random id will be generated.
string async_operation_id = 5;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RenameCustomSearchAttributeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-
mergeUnknownFields
public final RenameCustomSearchAttributeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
-