Class RotateServerCaContext (0.1.0)

public final class RotateServerCaContext extends GeneratedMessage implements RotateServerCaContextOrBuilder

Instance rotate server CA context.

Protobuf type google.cloud.sql.v1beta4.RotateServerCaContext

Static Fields

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

NEXT_VERSION_FIELD_NUMBER

public static final int NEXT_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RotateServerCaContext getDefaultInstance()
Returns
Type Description
RotateServerCaContext

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RotateServerCaContext.Builder newBuilder()
Returns
Type Description
RotateServerCaContext.Builder

newBuilder(RotateServerCaContext prototype)

public static RotateServerCaContext.Builder newBuilder(RotateServerCaContext prototype)
Parameter
Name Description
prototype RotateServerCaContext
Returns
Type Description
RotateServerCaContext.Builder

parseDelimitedFrom(InputStream input)

public static RotateServerCaContext parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RotateServerCaContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RotateServerCaContext parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RotateServerCaContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RotateServerCaContext parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RotateServerCaContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RotateServerCaContext parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RotateServerCaContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RotateServerCaContext parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RotateServerCaContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RotateServerCaContext parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RotateServerCaContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RotateServerCaContext
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RotateServerCaContext> parser()
Returns
Type Description
Parser<RotateServerCaContext>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RotateServerCaContext getDefaultInstanceForType()
Returns
Type Description
RotateServerCaContext

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.

getParserForType()

public Parser<RotateServerCaContext> getParserForType()
Returns
Type Description
Parser<RotateServerCaContext>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RotateServerCaContext.Builder newBuilderForType()
Returns
Type Description
RotateServerCaContext.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RotateServerCaContext.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RotateServerCaContext.Builder
Overrides

toBuilder()

public RotateServerCaContext.Builder toBuilder()
Returns
Type Description
RotateServerCaContext.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException