public static final class AmazonSQSSettings.Builder extends GeneratedMessage.Builder<AmazonSQSSettings.Builder> implements AmazonSQSSettingsOrBuilderAmazon SQS settings.
Protobuf type google.cloud.chronicle.v1.AmazonSQSSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AmazonSQSSettings.BuilderImplements
AmazonSQSSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AmazonSQSSettings build()| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings |
|
buildPartial()
public AmazonSQSSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings |
|
clear()
public AmazonSQSSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
clearAccountNumber()
public AmazonSQSSettings.Builder clearAccountNumber()Account number of the owner of the queue.
string account_number = 3;
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
clearAuthentication()
public AmazonSQSSettings.Builder clearAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
clearQueue()
public AmazonSQSSettings.Builder clearQueue()Name of the queue.
string queue = 2;
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
clearRegion()
public AmazonSQSSettings.Builder clearRegion()S3 Region.
.google.cloud.chronicle.v1.S3Region region = 1;
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
clearSourceDeletionOption()
public AmazonSQSSettings.Builder clearSourceDeletionOption()Source deletion option.
.google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5;
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
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. |
getAuthenticationBuilder()
public SQSAuth.Builder getAuthenticationBuilder()Input only. Authentication.
.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SQSAuth.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAuthentication(SQSAuth value)
public AmazonSQSSettings.Builder mergeAuthentication(SQSAuth value)Input only. Authentication.
.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SQSAuth |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
mergeFrom(AmazonSQSSettings other)
public AmazonSQSSettings.Builder mergeFrom(AmazonSQSSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
AmazonSQSSettings |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AmazonSQSSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AmazonSQSSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
setAccountNumber(String value)
public AmazonSQSSettings.Builder setAccountNumber(String value)Account number of the owner of the queue.
string account_number = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe accountNumber to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
setAccountNumberBytes(ByteString value)
public AmazonSQSSettings.Builder setAccountNumberBytes(ByteString value)Account number of the owner of the queue.
string account_number = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for accountNumber to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
setAuthentication(SQSAuth value)
public AmazonSQSSettings.Builder setAuthentication(SQSAuth value)Input only. Authentication.
.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SQSAuth |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
setAuthentication(SQSAuth.Builder builderForValue)
public AmazonSQSSettings.Builder setAuthentication(SQSAuth.Builder builderForValue)Input only. Authentication.
.google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SQSAuth.Builder |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
|
setQueue(String value)
public AmazonSQSSettings.Builder setQueue(String value)Name of the queue.
string queue = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe queue to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
setQueueBytes(ByteString value)
public AmazonSQSSettings.Builder setQueueBytes(ByteString value)Name of the queue.
string queue = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for queue to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
setRegion(S3Region value)
public AmazonSQSSettings.Builder setRegion(S3Region value)S3 Region.
.google.cloud.chronicle.v1.S3Region region = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
S3RegionThe region to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
setRegionValue(int value)
public AmazonSQSSettings.Builder setRegionValue(int value)S3 Region.
.google.cloud.chronicle.v1.S3Region region = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for region to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
setSourceDeletionOption(SourceDeletionOption value)
public AmazonSQSSettings.Builder setSourceDeletionOption(SourceDeletionOption value)Source deletion option.
.google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
SourceDeletionOptionThe sourceDeletionOption to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |
setSourceDeletionOptionValue(int value)
public AmazonSQSSettings.Builder setSourceDeletionOptionValue(int value)Source deletion option.
.google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sourceDeletionOption to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonSQSSettings.Builder |
This builder for chaining. |