Class ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder>
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
- All Implemented Interfaces:
ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReplicationStatus.UserManagedStatus.ReplicaStatus
public static final class ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder>
implements ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder
Describes the status of a user-managed replica for the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].Protobuf type
google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setCustomerManagedEncryption(CustomerManagedEncryptionStatus.Builder builderForValue) Output only.setLocation(String value) Output only.setLocationBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.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.GeneratedMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.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
-
mergeFrom
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder>
-
mergeFrom
public ReplicationStatus.UserManagedStatus.ReplicaStatus.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<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder>- Throws:
IOException
-
getLocation
Output only. The canonical ID of the replica location. For example: `"us-east1"`.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationin interfaceReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()Output only. The canonical ID of the replica location. For example: `"us-east1"`.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationBytesin interfaceReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder- Returns:
- The bytes for location.
-
setLocation
Output only. The canonical ID of the replica location. For example: `"us-east1"`.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
Output only. The canonical ID of the replica location. For example: `"us-east1"`.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLocationBytes
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setLocationBytes(com.google.protobuf.ByteString value) Output only. The canonical ID of the replica location. For example: `"us-east1"`.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
hasCustomerManagedEncryption
public boolean hasCustomerManagedEncryption()Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomerManagedEncryptionin interfaceReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder- Returns:
- Whether the customerManagedEncryption field is set.
-
getCustomerManagedEncryption
Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomerManagedEncryptionin interfaceReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder- Returns:
- The customerManagedEncryption.
-
setCustomerManagedEncryption
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setCustomerManagedEncryption(CustomerManagedEncryptionStatus value) Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCustomerManagedEncryption
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setCustomerManagedEncryption(CustomerManagedEncryptionStatus.Builder builderForValue) Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCustomerManagedEncryption
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder mergeCustomerManagedEncryption(CustomerManagedEncryptionStatus value) Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCustomerManagedEncryption
Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomerManagedEncryptionBuilder
Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomerManagedEncryptionOrBuilder
Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomerManagedEncryptionOrBuilderin interfaceReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder
-