Class AccessApprovalServiceAccount (2.24.0)

public final class AccessApprovalServiceAccount extends GeneratedMessageV3 implements AccessApprovalServiceAccountOrBuilder

Access Approval service account related to a project/folder/organization.

Protobuf type google.cloud.accessapproval.v1.AccessApprovalServiceAccount

Static Fields

ACCOUNT_EMAIL_FIELD_NUMBER

public static final int ACCOUNT_EMAIL_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 AccessApprovalServiceAccount getDefaultInstance()
Returns
TypeDescription
AccessApprovalServiceAccount

getDescriptor()

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

newBuilder()

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

newBuilder(AccessApprovalServiceAccount prototype)

public static AccessApprovalServiceAccount.Builder newBuilder(AccessApprovalServiceAccount prototype)
Parameter
NameDescription
prototypeAccessApprovalServiceAccount
Returns
TypeDescription
AccessApprovalServiceAccount.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccountEmail()

public String getAccountEmail()

Email address of the service account.

string account_email = 2;

Returns
TypeDescription
String

The accountEmail.

getAccountEmailBytes()

public ByteString getAccountEmailBytes()

Email address of the service account.

string account_email = 2;

Returns
TypeDescription
ByteString

The bytes for accountEmail.

getDefaultInstanceForType()

public AccessApprovalServiceAccount getDefaultInstanceForType()
Returns
TypeDescription
AccessApprovalServiceAccount

getName()

public String getName()

The resource name of the Access Approval service account. Format is one of:

  • "projects/{project}/serviceAccount"
  • "folders/{folder}/serviceAccount"
  • "organizations/{organization}/serviceAccount"

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the Access Approval service account. Format is one of:

  • "projects/{project}/serviceAccount"
  • "folders/{folder}/serviceAccount"
  • "organizations/{organization}/serviceAccount"

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<AccessApprovalServiceAccount> getParserForType()
Returns
TypeDescription
Parser<AccessApprovalServiceAccount>
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 AccessApprovalServiceAccount.Builder newBuilderForType()
Returns
TypeDescription
AccessApprovalServiceAccount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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