Class GoogleCloudStorageSettings.Builder (0.37.0)

public static final class GoogleCloudStorageSettings.Builder extends GeneratedMessage.Builder<GoogleCloudStorageSettings.Builder> implements GoogleCloudStorageSettingsOrBuilder

Google Cloud Storage settings.

Protobuf type google.cloud.chronicle.v1.GoogleCloudStorageSettings

Static Methods

getDescriptor()

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

Methods

build()

public GoogleCloudStorageSettings build()
Returns
Type Description
GoogleCloudStorageSettings

buildPartial()

public GoogleCloudStorageSettings buildPartial()
Returns
Type Description
GoogleCloudStorageSettings

clear()

public GoogleCloudStorageSettings.Builder clear()
Returns
Type Description
GoogleCloudStorageSettings.Builder
Overrides

clearBucketUri()

public GoogleCloudStorageSettings.Builder clearBucketUri()

Bucket URI.

string bucket_uri = 1;

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

clearChronicleServiceAccount()

public GoogleCloudStorageSettings.Builder clearChronicleServiceAccount()

Output only. Service Account Chronicle will be using to pull data.

string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

clearSourceDeletionOption()

public GoogleCloudStorageSettings.Builder clearSourceDeletionOption()

Source deletion option.

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

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

clearSourceType()

public GoogleCloudStorageSettings.Builder clearSourceType()

The URI source type.

.google.cloud.chronicle.v1.URISourceType source_type = 2;

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

getBucketUri()

public String getBucketUri()

Bucket URI.

string bucket_uri = 1;

Returns
Type Description
String

The bucketUri.

getBucketUriBytes()

public ByteString getBucketUriBytes()

Bucket URI.

string bucket_uri = 1;

Returns
Type Description
ByteString

The bytes for bucketUri.

getChronicleServiceAccount()

public String getChronicleServiceAccount()

Output only. Service Account Chronicle will be using to pull data.

string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The chronicleServiceAccount.

getChronicleServiceAccountBytes()

public ByteString getChronicleServiceAccountBytes()

Output only. Service Account Chronicle will be using to pull data.

string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for chronicleServiceAccount.

getDefaultInstanceForType()

public GoogleCloudStorageSettings getDefaultInstanceForType()
Returns
Type Description
GoogleCloudStorageSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceDeletionOption()

public SourceDeletionOption getSourceDeletionOption()

Source deletion option.

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

Returns
Type Description
SourceDeletionOption

The sourceDeletionOption.

getSourceDeletionOptionValue()

public int getSourceDeletionOptionValue()

Source deletion option.

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

Returns
Type Description
int

The enum numeric value on the wire for sourceDeletionOption.

getSourceType()

public URISourceType getSourceType()

The URI source type.

.google.cloud.chronicle.v1.URISourceType source_type = 2;

Returns
Type Description
URISourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The URI source type.

.google.cloud.chronicle.v1.URISourceType source_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleCloudStorageSettings other)

public GoogleCloudStorageSettings.Builder mergeFrom(GoogleCloudStorageSettings other)
Parameter
Name Description
other GoogleCloudStorageSettings
Returns
Type Description
GoogleCloudStorageSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoogleCloudStorageSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleCloudStorageSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoogleCloudStorageSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoogleCloudStorageSettings.Builder
Overrides

setBucketUri(String value)

public GoogleCloudStorageSettings.Builder setBucketUri(String value)

Bucket URI.

string bucket_uri = 1;

Parameter
Name Description
value String

The bucketUri to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

setBucketUriBytes(ByteString value)

public GoogleCloudStorageSettings.Builder setBucketUriBytes(ByteString value)

Bucket URI.

string bucket_uri = 1;

Parameter
Name Description
value ByteString

The bytes for bucketUri to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

setChronicleServiceAccount(String value)

public GoogleCloudStorageSettings.Builder setChronicleServiceAccount(String value)

Output only. Service Account Chronicle will be using to pull data.

string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The chronicleServiceAccount to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

setChronicleServiceAccountBytes(ByteString value)

public GoogleCloudStorageSettings.Builder setChronicleServiceAccountBytes(ByteString value)

Output only. Service Account Chronicle will be using to pull data.

string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for chronicleServiceAccount to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

setSourceDeletionOption(SourceDeletionOption value)

public GoogleCloudStorageSettings.Builder setSourceDeletionOption(SourceDeletionOption value)

Source deletion option.

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

Parameter
Name Description
value SourceDeletionOption

The sourceDeletionOption to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

setSourceDeletionOptionValue(int value)

public GoogleCloudStorageSettings.Builder setSourceDeletionOptionValue(int value)

Source deletion option.

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

Parameter
Name Description
value int

The enum numeric value on the wire for sourceDeletionOption to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

setSourceType(URISourceType value)

public GoogleCloudStorageSettings.Builder setSourceType(URISourceType value)

The URI source type.

.google.cloud.chronicle.v1.URISourceType source_type = 2;

Parameter
Name Description
value URISourceType

The sourceType to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.

setSourceTypeValue(int value)

public GoogleCloudStorageSettings.Builder setSourceTypeValue(int value)

The URI source type.

.google.cloud.chronicle.v1.URISourceType source_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for sourceType to set.

Returns
Type Description
GoogleCloudStorageSettings.Builder

This builder for chaining.