public static final class RotateServerCertificateContext.Builder extends GeneratedMessage.Builder<RotateServerCertificateContext.Builder> implements RotateServerCertificateContextOrBuilderInstance rotate server certificate context.
Protobuf type google.cloud.sql.v1beta4.RotateServerCertificateContext
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RotateServerCertificateContext.BuilderImplements
RotateServerCertificateContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RotateServerCertificateContext build()| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext |
|
buildPartial()
public RotateServerCertificateContext buildPartial()| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext |
|
clear()
public RotateServerCertificateContext.Builder clear()| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
|
clearKind()
public RotateServerCertificateContext.Builder clearKind() Optional. This is always sql#rotateServerCertificateContext.
string kind = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
This builder for chaining. |
clearNextVersion()
public RotateServerCertificateContext.Builder clearNextVersion()Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.
string next_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RotateServerCertificateContext getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKind()
public String getKind() Optional. This is always sql#rotateServerCertificateContext.
string kind = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes() Optional. This is always sql#rotateServerCertificateContext.
string kind = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getNextVersion()
public String getNextVersion()Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.
string next_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The nextVersion. |
getNextVersionBytes()
public ByteString getNextVersionBytes()Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.
string next_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextVersion. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RotateServerCertificateContext other)
public RotateServerCertificateContext.Builder mergeFrom(RotateServerCertificateContext other)| Parameter | |
|---|---|
| Name | Description |
other |
RotateServerCertificateContext |
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RotateServerCertificateContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RotateServerCertificateContext.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
|
setKind(String value)
public RotateServerCertificateContext.Builder setKind(String value) Optional. This is always sql#rotateServerCertificateContext.
string kind = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public RotateServerCertificateContext.Builder setKindBytes(ByteString value) Optional. This is always sql#rotateServerCertificateContext.
string kind = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
This builder for chaining. |
setNextVersion(String value)
public RotateServerCertificateContext.Builder setNextVersion(String value)Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.
string next_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextVersion to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
This builder for chaining. |
setNextVersionBytes(ByteString value)
public RotateServerCertificateContext.Builder setNextVersionBytes(ByteString value)Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.
string next_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextVersion to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCertificateContext.Builder |
This builder for chaining. |