Class AwsServicesAuthentication (0.14.0)

public final class AwsServicesAuthentication extends GeneratedMessageV3 implements AwsServicesAuthenticationOrBuilder

Authentication configuration for the management of AWS resources.

Protobuf type google.cloud.gkemulticloud.v1.AwsServicesAuthentication

Static Fields

ROLE_ARN_FIELD_NUMBER

public static final int ROLE_ARN_FIELD_NUMBER
Field Value
TypeDescription
int

ROLE_SESSION_NAME_FIELD_NUMBER

public static final int ROLE_SESSION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsServicesAuthentication getDefaultInstance()
Returns
TypeDescription
AwsServicesAuthentication

getDescriptor()

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

newBuilder()

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

newBuilder(AwsServicesAuthentication prototype)

public static AwsServicesAuthentication.Builder newBuilder(AwsServicesAuthentication prototype)
Parameter
NameDescription
prototypeAwsServicesAuthentication
Returns
TypeDescription
AwsServicesAuthentication.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsServicesAuthentication getDefaultInstanceForType()
Returns
TypeDescription
AwsServicesAuthentication

getParserForType()

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

getRoleArn()

public String getRoleArn()

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The roleArn.

getRoleArnBytes()

public ByteString getRoleArnBytes()

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for roleArn.

getRoleSessionName()

public String getRoleSessionName()

Optional. An identifier for the assumed role session. When unspecified, it defaults to multicloud-service-agent.

string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The roleSessionName.

getRoleSessionNameBytes()

public ByteString getRoleSessionNameBytes()

Optional. An identifier for the assumed role session. When unspecified, it defaults to multicloud-service-agent.

string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for roleSessionName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 AwsServicesAuthentication.Builder newBuilderForType()
Returns
TypeDescription
AwsServicesAuthentication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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