public final class SslCert extends GeneratedMessage implements SslCertOrBuilder
SslCerts Resource
Protobuf type google.cloud.sql.v1.SslCert
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CERT_FIELD_NUMBER
public static final int CERT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CERT_SERIAL_NUMBER_FIELD_NUMBER
public static final int CERT_SERIAL_NUMBER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COMMON_NAME_FIELD_NUMBER
public static final int COMMON_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SHA1_FINGERPRINT_FIELD_NUMBER
public static final int SHA1_FINGERPRINT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SslCert getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SslCert.Builder newBuilder()
newBuilder(SslCert prototype)
public static SslCert.Builder newBuilder(SslCert prototype)
| Parameter |
| Name |
Description |
prototype |
SslCert
|
public static SslCert parseDelimitedFrom(InputStream input)
public static SslCert parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SslCert parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SslCert parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SslCert parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SslCert parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SslCert parseFrom(CodedInputStream input)
public static SslCert parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SslCert parseFrom(InputStream input)
public static SslCert parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SslCert parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SslCert parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SslCert> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCert()
PEM representation.
string cert = 3;
| Returns |
| Type |
Description |
String |
The cert.
|
getCertBytes()
public ByteString getCertBytes()
PEM representation.
string cert = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for cert.
|
getCertSerialNumber()
public String getCertSerialNumber()
Serial number, as extracted from the certificate.
string cert_serial_number = 2;
| Returns |
| Type |
Description |
String |
The certSerialNumber.
|
getCertSerialNumberBytes()
public ByteString getCertSerialNumberBytes()
Serial number, as extracted from the certificate.
string cert_serial_number = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for certSerialNumber.
|
getCommonName()
public String getCommonName()
User supplied name. Constrained to [a-zA-Z.-_ ]+.
string common_name = 5;
| Returns |
| Type |
Description |
String |
The commonName.
|
getCommonNameBytes()
public ByteString getCommonNameBytes()
User supplied name. Constrained to [a-zA-Z.-_ ]+.
string common_name = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for commonName.
|
getCreateTime()
public Timestamp getCreateTime()
The time when the certificate was created in RFC
3339 format, for example
2012-11-15T16:19:00.094Z
.google.protobuf.Timestamp create_time = 4;
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the certificate was created in RFC
3339 format, for example
2012-11-15T16:19:00.094Z
.google.protobuf.Timestamp create_time = 4;
getDefaultInstanceForType()
public SslCert getDefaultInstanceForType()
getExpirationTime()
public Timestamp getExpirationTime()
The time when the certificate expires in RFC
3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp expiration_time = 6;
| Returns |
| Type |
Description |
Timestamp |
The expirationTime.
|
getExpirationTimeOrBuilder()
public TimestampOrBuilder getExpirationTimeOrBuilder()
The time when the certificate expires in RFC
3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp expiration_time = 6;
getInstance()
public String getInstance()
Name of the database instance.
string instance = 8;
| Returns |
| Type |
Description |
String |
The instance.
|
getInstanceBytes()
public ByteString getInstanceBytes()
Name of the database instance.
string instance = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for instance.
|
getKind()
This is always sql#sslCert.
string kind = 1;
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
This is always sql#sslCert.
string kind = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for kind.
|
getParserForType()
public Parser<SslCert> getParserForType()
Overrides
getSelfLink()
public String getSelfLink()
The URI of this resource.
string self_link = 9;
| Returns |
| Type |
Description |
String |
The selfLink.
|
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
The URI of this resource.
string self_link = 9;
| Returns |
| Type |
Description |
ByteString |
The bytes for selfLink.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSha1Fingerprint()
public String getSha1Fingerprint()
Sha1 Fingerprint.
string sha1_fingerprint = 7;
| Returns |
| Type |
Description |
String |
The sha1Fingerprint.
|
getSha1FingerprintBytes()
public ByteString getSha1FingerprintBytes()
Sha1 Fingerprint.
string sha1_fingerprint = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for sha1Fingerprint.
|
hasCreateTime()
public boolean hasCreateTime()
The time when the certificate was created in RFC
3339 format, for example
2012-11-15T16:19:00.094Z
.google.protobuf.Timestamp create_time = 4;
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasExpirationTime()
public boolean hasExpirationTime()
The time when the certificate expires in RFC
3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp expiration_time = 6;
| Returns |
| Type |
Description |
boolean |
Whether the expirationTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SslCert.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SslCert.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SslCert.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides