public final class AwsCrossAccountRole extends GeneratedMessageV3 implements AwsCrossAccountRoleOrBuilder
Authentication method for Amazon Web Services (AWS) that uses Google owned
AWS IAM user's access key to assume into customer's AWS IAM Role.
Protobuf type google.cloud.bigquery.connection.v1.AwsCrossAccountRole
Static Fields
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
Field Value
IAM_ROLE_ID_FIELD_NUMBER
public static final int IAM_ROLE_ID_FIELD_NUMBER
Field Value
IAM_USER_ID_FIELD_NUMBER
public static final int IAM_USER_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsCrossAccountRole getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsCrossAccountRole.Builder newBuilder()
Returns
newBuilder(AwsCrossAccountRole prototype)
public static AwsCrossAccountRole.Builder newBuilder(AwsCrossAccountRole prototype)
Parameter
Returns
public static AwsCrossAccountRole parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsCrossAccountRole parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsCrossAccountRole parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsCrossAccountRole parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsCrossAccountRole parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsCrossAccountRole parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsCrossAccountRole parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsCrossAccountRole parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsCrossAccountRole parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsCrossAccountRole parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsCrossAccountRole parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsCrossAccountRole parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsCrossAccountRole> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AwsCrossAccountRole getDefaultInstanceForType()
Returns
getExternalId()
public String getExternalId()
Returns
Type | Description |
String | The externalId.
|
getExternalIdBytes()
public ByteString getExternalIdBytes()
Returns
Type | Description |
ByteString | The bytes for externalId.
|
getIamRoleId()
public String getIamRoleId()
The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
Connection.
string iam_role_id = 1;
Returns
Type | Description |
String | The iamRoleId.
|
getIamRoleIdBytes()
public ByteString getIamRoleIdBytes()
The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
Connection.
string iam_role_id = 1;
Returns
getIamUserId()
public String getIamUserId()
Output only. Google-owned AWS IAM User for a Connection.
string iam_user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The iamUserId.
|
getIamUserIdBytes()
public ByteString getIamUserIdBytes()
Output only. Google-owned AWS IAM User for a Connection.
string iam_user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParserForType()
public Parser<AwsCrossAccountRole> 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 AwsCrossAccountRole.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsCrossAccountRole.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsCrossAccountRole.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions