public static final class RotateServerCaContext.Builder extends GeneratedMessage.Builder<RotateServerCaContext.Builder> implements RotateServerCaContextOrBuilderInstance rotate server CA context.
Protobuf type google.cloud.sql.v1.RotateServerCaContext
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RotateServerCaContext.BuilderImplements
RotateServerCaContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RotateServerCaContext build()| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext |
|
buildPartial()
public RotateServerCaContext buildPartial()| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext |
|
clear()
public RotateServerCaContext.Builder clear()| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
|
clearKind()
public RotateServerCaContext.Builder clearKind() This is always sql#rotateServerCaContext.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
This builder for chaining. |
clearNextVersion()
public RotateServerCaContext.Builder clearNextVersion()The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.
string next_version = 2;
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RotateServerCaContext getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKind()
public String getKind() This is always sql#rotateServerCaContext.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes() This is always sql#rotateServerCaContext.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getNextVersion()
public String getNextVersion()The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.
string next_version = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextVersion. |
getNextVersionBytes()
public ByteString getNextVersionBytes()The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.
string next_version = 2;
| 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(RotateServerCaContext other)
public RotateServerCaContext.Builder mergeFrom(RotateServerCaContext other)| Parameter | |
|---|---|
| Name | Description |
other |
RotateServerCaContext |
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RotateServerCaContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RotateServerCaContext.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
|
setKind(String value)
public RotateServerCaContext.Builder setKind(String value) This is always sql#rotateServerCaContext.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public RotateServerCaContext.Builder setKindBytes(ByteString value) This is always sql#rotateServerCaContext.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
This builder for chaining. |
setNextVersion(String value)
public RotateServerCaContext.Builder setNextVersion(String value)The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.
string next_version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextVersion to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
This builder for chaining. |
setNextVersionBytes(ByteString value)
public RotateServerCaContext.Builder setNextVersionBytes(ByteString value)The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.
string next_version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextVersion to set. |
| Returns | |
|---|---|
| Type | Description |
RotateServerCaContext.Builder |
This builder for chaining. |