public static final class EnableManagedRotationRequest.Builder extends GeneratedMessage.Builder<EnableManagedRotationRequest.Builder> implements EnableManagedRotationRequestOrBuilderRequest message for SecretManagerService.EnableManagedRotation.
Protobuf type google.cloud.secretmanager.v1.EnableManagedRotationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EnableManagedRotationRequest.BuilderImplements
EnableManagedRotationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EnableManagedRotationRequest build()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest |
|
buildPartial()
public EnableManagedRotationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest |
|
clear()
public EnableManagedRotationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
clearCloudSqlSingleUserCredentials()
public EnableManagedRotationRequest.Builder clearCloudSqlSingleUserCredentials()Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
clearCredentials()
public EnableManagedRotationRequest.Builder clearCredentials()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
clearParent()
public EnableManagedRotationRequest.Builder clearParent() Required. The resource name of the
Secret to associate with the
SecretVersion in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
This builder for chaining. |
getCloudSqlSingleUserCredentials()
public EnableManagedRotationRequest.CloudSQLSingleUserCredentials getCloudSqlSingleUserCredentials()Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
The cloudSqlSingleUserCredentials. |
getCloudSqlSingleUserCredentialsBuilder()
public EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder getCloudSqlSingleUserCredentialsBuilder()Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder |
|
getCloudSqlSingleUserCredentialsOrBuilder()
public EnableManagedRotationRequest.CloudSQLSingleUserCredentialsOrBuilder getCloudSqlSingleUserCredentialsOrBuilder()Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentialsOrBuilder |
|
getCredentialsCase()
public EnableManagedRotationRequest.CredentialsCase getCredentialsCase()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CredentialsCase |
|
getDefaultInstanceForType()
public EnableManagedRotationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The resource name of the
Secret to associate with the
SecretVersion in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The resource name of the
Secret to associate with the
SecretVersion in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasCloudSqlSingleUserCredentials()
public boolean hasCloudSqlSingleUserCredentials()Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cloudSqlSingleUserCredentials field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCloudSqlSingleUserCredentials(EnableManagedRotationRequest.CloudSQLSingleUserCredentials value)
public EnableManagedRotationRequest.Builder mergeCloudSqlSingleUserCredentials(EnableManagedRotationRequest.CloudSQLSingleUserCredentials value)Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
mergeFrom(EnableManagedRotationRequest other)
public EnableManagedRotationRequest.Builder mergeFrom(EnableManagedRotationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
EnableManagedRotationRequest |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EnableManagedRotationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EnableManagedRotationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
setCloudSqlSingleUserCredentials(EnableManagedRotationRequest.CloudSQLSingleUserCredentials value)
public EnableManagedRotationRequest.Builder setCloudSqlSingleUserCredentials(EnableManagedRotationRequest.CloudSQLSingleUserCredentials value)Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
setCloudSqlSingleUserCredentials(EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder builderForValue)
public EnableManagedRotationRequest.Builder setCloudSqlSingleUserCredentials(EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder builderForValue)Credentials required for Cloud SQL DB for Single user Managed Rotation.
.google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials cloud_sql_single_user_credentials = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
|
setParent(String value)
public EnableManagedRotationRequest.Builder setParent(String value) Required. The resource name of the
Secret to associate with the
SecretVersion in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public EnableManagedRotationRequest.Builder setParentBytes(ByteString value) Required. The resource name of the
Secret to associate with the
SecretVersion in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.Builder |
This builder for chaining. |