Class ExternalAccountKey (0.31.0)

public final class ExternalAccountKey extends GeneratedMessageV3 implements ExternalAccountKeyOrBuilder

A representation of an ExternalAccountKey used for external account binding within ACME.

Protobuf type google.cloud.security.publicca.v1beta1.ExternalAccountKey

Static Fields

B64_MAC_KEY_FIELD_NUMBER

public static final int B64_MAC_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_ID_FIELD_NUMBER

public static final int KEY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExternalAccountKey getDefaultInstance()
Returns
TypeDescription
ExternalAccountKey

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExternalAccountKey.Builder newBuilder()
Returns
TypeDescription
ExternalAccountKey.Builder

newBuilder(ExternalAccountKey prototype)

public static ExternalAccountKey.Builder newBuilder(ExternalAccountKey prototype)
Parameter
NameDescription
prototypeExternalAccountKey
Returns
TypeDescription
ExternalAccountKey.Builder

parseDelimitedFrom(InputStream input)

public static ExternalAccountKey parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalAccountKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExternalAccountKey parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExternalAccountKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExternalAccountKey parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExternalAccountKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExternalAccountKey parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalAccountKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExternalAccountKey parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalAccountKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExternalAccountKey parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExternalAccountKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalAccountKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExternalAccountKey> parser()
Returns
TypeDescription
Parser<ExternalAccountKey>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getB64MacKey()

public ByteString getB64MacKey()

Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created

bytes b64_mac_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The b64MacKey.

getDefaultInstanceForType()

public ExternalAccountKey getDefaultInstanceForType()
Returns
TypeDescription
ExternalAccountKey

getKeyId()

public String getKeyId()

Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created

string key_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created

string key_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for keyId.

getName()

public String getName()

Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ExternalAccountKey> getParserForType()
Returns
TypeDescription
Parser<ExternalAccountKey>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExternalAccountKey.Builder newBuilderForType()
Returns
TypeDescription
ExternalAccountKey.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExternalAccountKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExternalAccountKey.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExternalAccountKey.Builder toBuilder()
Returns
TypeDescription
ExternalAccountKey.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException