public final class CertificateAuthority extends GeneratedMessageV3 implements CertificateAuthorityOrBuilder
Redis cluster certificate authority
Protobuf type google.cloud.redis.cluster.v1beta1.CertificateAuthority
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CertificateAuthorityImplements
CertificateAuthorityOrBuilderStatic Fields
MANAGED_SERVER_CA_FIELD_NUMBER
public static final int MANAGED_SERVER_CA_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CertificateAuthority getDefaultInstance()
Returns | |
---|---|
Type | Description |
CertificateAuthority |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CertificateAuthority.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CertificateAuthority.Builder |
newBuilder(CertificateAuthority prototype)
public static CertificateAuthority.Builder newBuilder(CertificateAuthority prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CertificateAuthority |
Returns | |
---|---|
Type | Description |
CertificateAuthority.Builder |
parseDelimitedFrom(InputStream input)
public static CertificateAuthority parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CertificateAuthority parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CertificateAuthority parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CertificateAuthority parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CertificateAuthority parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CertificateAuthority parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateAuthority |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CertificateAuthority> parser()
Returns | |
---|---|
Type | Description |
Parser<CertificateAuthority> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CertificateAuthority getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CertificateAuthority |
getManagedServerCa()
public CertificateAuthority.ManagedCertificateAuthority getManagedServerCa()
.google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthority managed_server_ca = 1;
Returns | |
---|---|
Type | Description |
CertificateAuthority.ManagedCertificateAuthority |
The managedServerCa. |
getManagedServerCaOrBuilder()
public CertificateAuthority.ManagedCertificateAuthorityOrBuilder getManagedServerCaOrBuilder()
.google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthority managed_server_ca = 1;
Returns | |
---|---|
Type | Description |
CertificateAuthority.ManagedCertificateAuthorityOrBuilder |
getName()
public String getName()
Identifier. Unique name of the resource in this scope including project,
location and cluster using the form:
projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority
string name = 2 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. Unique name of the resource in this scope including project,
location and cluster using the form:
projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority
string name = 2 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<CertificateAuthority> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CertificateAuthority> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getServerCaCase()
public CertificateAuthority.ServerCaCase getServerCaCase()
Returns | |
---|---|
Type | Description |
CertificateAuthority.ServerCaCase |
hasManagedServerCa()
public boolean hasManagedServerCa()
.google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthority managed_server_ca = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the managedServerCa field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CertificateAuthority.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CertificateAuthority.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateAuthority.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CertificateAuthority.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CertificateAuthority.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CertificateAuthority.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |