Class AmazonSQSSettings (0.37.0)

public final class AmazonSQSSettings extends GeneratedMessage implements AmazonSQSSettingsOrBuilder

Amazon SQS settings.

Protobuf type google.cloud.chronicle.v1.AmazonSQSSettings

Static Fields

ACCOUNT_NUMBER_FIELD_NUMBER

public static final int ACCOUNT_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

AUTHENTICATION_FIELD_NUMBER

public static final int AUTHENTICATION_FIELD_NUMBER
Field Value
Type Description
int

QUEUE_FIELD_NUMBER

public static final int QUEUE_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_DELETION_OPTION_FIELD_NUMBER

public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AmazonSQSSettings getDefaultInstance()
Returns
Type Description
AmazonSQSSettings

getDescriptor()

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

newBuilder()

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

newBuilder(AmazonSQSSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccountNumber()

public String getAccountNumber()

Account number of the owner of the queue.

string account_number = 3;

Returns
Type Description
String

The accountNumber.

getAccountNumberBytes()

public ByteString getAccountNumberBytes()

Account number of the owner of the queue.

string account_number = 3;

Returns
Type Description
ByteString

The bytes for accountNumber.

getAuthentication()

public SQSAuth getAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SQSAuth

The authentication.

getAuthenticationOrBuilder()

public SQSAuthOrBuilder getAuthenticationOrBuilder()

Input only. Authentication.

.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SQSAuthOrBuilder

getDefaultInstanceForType()

public AmazonSQSSettings getDefaultInstanceForType()
Returns
Type Description
AmazonSQSSettings

getParserForType()

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

getQueue()

public String getQueue()

Name of the queue.

string queue = 2;

Returns
Type Description
String

The queue.

getQueueBytes()

public ByteString getQueueBytes()

Name of the queue.

string queue = 2;

Returns
Type Description
ByteString

The bytes for queue.

getRegion()

public S3Region getRegion()

S3 Region.

.google.cloud.chronicle.v1.S3Region region = 1;

Returns
Type Description
S3Region

The region.

getRegionValue()

public int getRegionValue()

S3 Region.

.google.cloud.chronicle.v1.S3Region region = 1;

Returns
Type Description
int

The enum numeric value on the wire for region.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceDeletionOption()

public SourceDeletionOption getSourceDeletionOption()

Source deletion option.

.google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5;

Returns
Type Description
SourceDeletionOption

The sourceDeletionOption.

getSourceDeletionOptionValue()

public int getSourceDeletionOptionValue()

Source deletion option.

.google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5;

Returns
Type Description
int

The enum numeric value on the wire for sourceDeletionOption.

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the authentication field is set.

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 AmazonSQSSettings.Builder newBuilderForType()
Returns
Type Description
AmazonSQSSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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