Class SQSV2AwsIamRoleAuth (0.37.0)

public final class SQSV2AwsIamRoleAuth extends GeneratedMessage implements SQSV2AwsIamRoleAuthOrBuilder

AWS IAM Role Auth for SQS V2.

Protobuf type google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth

Static Fields

AWS_IAM_ROLE_ARN_FIELD_NUMBER

public static final int AWS_IAM_ROLE_ARN_FIELD_NUMBER
Field Value
Type Description
int

SUBJECT_ID_FIELD_NUMBER

public static final int SUBJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SQSV2AwsIamRoleAuth getDefaultInstance()
Returns
Type Description
SQSV2AwsIamRoleAuth

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SQSV2AwsIamRoleAuth.Builder newBuilder()
Returns
Type Description
SQSV2AwsIamRoleAuth.Builder

newBuilder(SQSV2AwsIamRoleAuth prototype)

public static SQSV2AwsIamRoleAuth.Builder newBuilder(SQSV2AwsIamRoleAuth prototype)
Parameter
Name Description
prototype SQSV2AwsIamRoleAuth
Returns
Type Description
SQSV2AwsIamRoleAuth.Builder

parseDelimitedFrom(InputStream input)

public static SQSV2AwsIamRoleAuth parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SQSV2AwsIamRoleAuth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SQSV2AwsIamRoleAuth parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SQSV2AwsIamRoleAuth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SQSV2AwsIamRoleAuth parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SQSV2AwsIamRoleAuth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SQSV2AwsIamRoleAuth parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SQSV2AwsIamRoleAuth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SQSV2AwsIamRoleAuth parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SQSV2AwsIamRoleAuth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SQSV2AwsIamRoleAuth parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SQSV2AwsIamRoleAuth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SQSV2AwsIamRoleAuth
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SQSV2AwsIamRoleAuth> parser()
Returns
Type Description
Parser<SQSV2AwsIamRoleAuth>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAwsIamRoleArn()

public String getAwsIamRoleArn()

AWS IAM Role for Identity Federation.

string aws_iam_role_arn = 1;

Returns
Type Description
String

The awsIamRoleArn.

getAwsIamRoleArnBytes()

public ByteString getAwsIamRoleArnBytes()

AWS IAM Role for Identity Federation.

string aws_iam_role_arn = 1;

Returns
Type Description
ByteString

The bytes for awsIamRoleArn.

getDefaultInstanceForType()

public SQSV2AwsIamRoleAuth getDefaultInstanceForType()
Returns
Type Description
SQSV2AwsIamRoleAuth

getParserForType()

public Parser<SQSV2AwsIamRoleAuth> getParserForType()
Returns
Type Description
Parser<SQSV2AwsIamRoleAuth>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubjectId()

public String getSubjectId()

Subject ID to use for SQS.

string subject_id = 2;

Returns
Type Description
String

The subjectId.

getSubjectIdBytes()

public ByteString getSubjectIdBytes()

Subject ID to use for SQS.

string subject_id = 2;

Returns
Type Description
ByteString

The bytes for subjectId.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SQSV2AwsIamRoleAuth.Builder newBuilderForType()
Returns
Type Description
SQSV2AwsIamRoleAuth.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SQSV2AwsIamRoleAuth.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SQSV2AwsIamRoleAuth.Builder
Overrides

toBuilder()

public SQSV2AwsIamRoleAuth.Builder toBuilder()
Returns
Type Description
SQSV2AwsIamRoleAuth.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException