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.v1.ExternalAccountKey
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
B64_MAC_KEY_FIELD_NUMBER
public static final int B64_MAC_KEY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
KEY_ID_FIELD_NUMBER
public static final int KEY_ID_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 ExternalAccountKey getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExternalAccountKey.Builder newBuilder()
newBuilder(ExternalAccountKey prototype)
public static ExternalAccountKey.Builder newBuilder(ExternalAccountKey prototype)
public static ExternalAccountKey parseDelimitedFrom(InputStream input)
public static ExternalAccountKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExternalAccountKey parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExternalAccountKey parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(CodedInputStream input)
public static ExternalAccountKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(InputStream input)
public static ExternalAccountKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExternalAccountKey parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExternalAccountKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExternalAccountKey> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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 |
Type |
Description |
ByteString |
The b64MacKey.
|
getDefaultInstanceForType()
public ExternalAccountKey getDefaultInstanceForType()
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 |
Type |
Description |
ByteString |
The bytes for keyId.
|
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 |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<ExternalAccountKey> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExternalAccountKey.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExternalAccountKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExternalAccountKey.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides