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
KEY_ID_FIELD_NUMBER
public static final int KEY_ID_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ExternalAccountKey getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ExternalAccountKey.Builder newBuilder()
Returns
newBuilder(ExternalAccountKey prototype)
public static ExternalAccountKey.Builder newBuilder(ExternalAccountKey prototype)
Parameter
Returns
public static ExternalAccountKey parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExternalAccountKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ExternalAccountKey parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ExternalAccountKey parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExternalAccountKey parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExternalAccountKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExternalAccountKey parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExternalAccountKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ExternalAccountKey parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ExternalAccountKey> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public ExternalAccountKey getDefaultInstanceForType()
Returns
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
Type | Description |
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
getName()
Output only. Resource name.
projects/{project}/locations/{location}/externalAccountKeys/{key_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
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
getParserForType()
public Parser<ExternalAccountKey> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ExternalAccountKey.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExternalAccountKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ExternalAccountKey.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions