Class SftpSettings.Builder (0.37.0)

public static final class SftpSettings.Builder extends GeneratedMessage.Builder<SftpSettings.Builder> implements SftpSettingsOrBuilder

SFTP settings.

Protobuf type google.cloud.chronicle.v1.SftpSettings

Static Methods

getDescriptor()

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

Methods

build()

public SftpSettings build()
Returns
Type Description
SftpSettings

buildPartial()

public SftpSettings buildPartial()
Returns
Type Description
SftpSettings

clear()

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

clearAuthentication()

public SftpSettings.Builder clearAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SftpSettings.Builder

clearSourceDeletionOption()

public SftpSettings.Builder clearSourceDeletionOption()

Source deletion option.

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

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

clearSourceType()

public SftpSettings.Builder clearSourceType()

The URI source type.

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

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

clearUri()

public SftpSettings.Builder clearUri()

SFTP URI.

string uri = 2;

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

getAuthentication()

public SftpAuth getAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SftpAuth

The authentication.

getAuthenticationBuilder()

public SftpAuth.Builder getAuthenticationBuilder()

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SftpAuth.Builder

getAuthenticationOrBuilder()

public SftpAuthOrBuilder getAuthenticationOrBuilder()

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SftpAuthOrBuilder

getDefaultInstanceForType()

public SftpSettings getDefaultInstanceForType()
Returns
Type Description
SftpSettings

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 = 4;

Returns
Type Description
SourceDeletionOption

The sourceDeletionOption.

getSourceDeletionOptionValue()

public int getSourceDeletionOptionValue()

Source deletion option.

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

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 = 3;

Returns
Type Description
URISourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The URI source type.

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

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

getUri()

public String getUri()

SFTP URI.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

SFTP URI.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthentication(SftpAuth value)

public SftpSettings.Builder mergeAuthentication(SftpAuth value)

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value SftpAuth
Returns
Type Description
SftpSettings.Builder

mergeFrom(SftpSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(SftpAuth value)

public SftpSettings.Builder setAuthentication(SftpAuth value)

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value SftpAuth
Returns
Type Description
SftpSettings.Builder

setAuthentication(SftpAuth.Builder builderForValue)

public SftpSettings.Builder setAuthentication(SftpAuth.Builder builderForValue)

Input only. Authentication.

.google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
builderForValue SftpAuth.Builder
Returns
Type Description
SftpSettings.Builder

setSourceDeletionOption(SourceDeletionOption value)

public SftpSettings.Builder setSourceDeletionOption(SourceDeletionOption value)

Source deletion option.

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

Parameter
Name Description
value SourceDeletionOption

The sourceDeletionOption to set.

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

setSourceDeletionOptionValue(int value)

public SftpSettings.Builder setSourceDeletionOptionValue(int value)

Source deletion option.

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

Parameter
Name Description
value int

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

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

setSourceType(URISourceType value)

public SftpSettings.Builder setSourceType(URISourceType value)

The URI source type.

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

Parameter
Name Description
value URISourceType

The sourceType to set.

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

setSourceTypeValue(int value)

public SftpSettings.Builder setSourceTypeValue(int value)

The URI source type.

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

Parameter
Name Description
value int

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

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

setUri(String value)

public SftpSettings.Builder setUri(String value)

SFTP URI.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
SftpSettings.Builder

This builder for chaining.

setUriBytes(ByteString value)

public SftpSettings.Builder setUriBytes(ByteString value)

SFTP URI.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
SftpSettings.Builder

This builder for chaining.