Class RotateServerCaContext.Builder (0.1.0)

public static final class RotateServerCaContext.Builder extends GeneratedMessage.Builder<RotateServerCaContext.Builder> implements RotateServerCaContextOrBuilder

Instance rotate server CA context.

Protobuf type google.cloud.sql.v1.RotateServerCaContext

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RotateServerCaContext.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RotateServerCaContext.Builder
Overrides

setKind(String value)

public RotateServerCaContext.Builder setKind(String value)

This is always sql#rotateServerCaContext.

string kind = 1;

Parameter
Name Description
value String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for nextVersion to set.

Returns
Type Description
RotateServerCaContext.Builder

This builder for chaining.