Class DuoAuthSettings.Builder (0.37.0)

public static final class DuoAuthSettings.Builder extends GeneratedMessage.Builder<DuoAuthSettings.Builder> implements DuoAuthSettingsOrBuilder

Duo Authentication settings.

Protobuf type google.cloud.chronicle.v1.DuoAuthSettings

Static Methods

getDescriptor()

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

Methods

build()

public DuoAuthSettings build()
Returns
Type Description
DuoAuthSettings

buildPartial()

public DuoAuthSettings buildPartial()
Returns
Type Description
DuoAuthSettings

clear()

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

clearAuthentication()

public DuoAuthSettings.Builder clearAuthentication()

Input only. Authentication.

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

Returns
Type Description
DuoAuthSettings.Builder

clearHostname()

public DuoAuthSettings.Builder clearHostname()

API Hostname.

string hostname = 2;

Returns
Type Description
DuoAuthSettings.Builder

This builder for chaining.

getAuthentication()

public UsernameSecretAuth getAuthentication()

Input only. Authentication.

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

Returns
Type Description
UsernameSecretAuth

The authentication.

getAuthenticationBuilder()

public UsernameSecretAuth.Builder getAuthenticationBuilder()

Input only. Authentication.

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

Returns
Type Description
UsernameSecretAuth.Builder

getAuthenticationOrBuilder()

public UsernameSecretAuthOrBuilder getAuthenticationOrBuilder()

Input only. Authentication.

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

Returns
Type Description
UsernameSecretAuthOrBuilder

getDefaultInstanceForType()

public DuoAuthSettings getDefaultInstanceForType()
Returns
Type Description
DuoAuthSettings

getDescriptorForType()

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

getHostname()

public String getHostname()

API Hostname.

string hostname = 2;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

API Hostname.

string hostname = 2;

Returns
Type Description
ByteString

The bytes for hostname.

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.UsernameSecretAuth 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(UsernameSecretAuth value)

public DuoAuthSettings.Builder mergeAuthentication(UsernameSecretAuth value)

Input only. Authentication.

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

Parameter
Name Description
value UsernameSecretAuth
Returns
Type Description
DuoAuthSettings.Builder

mergeFrom(DuoAuthSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(UsernameSecretAuth value)

public DuoAuthSettings.Builder setAuthentication(UsernameSecretAuth value)

Input only. Authentication.

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

Parameter
Name Description
value UsernameSecretAuth
Returns
Type Description
DuoAuthSettings.Builder

setAuthentication(UsernameSecretAuth.Builder builderForValue)

public DuoAuthSettings.Builder setAuthentication(UsernameSecretAuth.Builder builderForValue)

Input only. Authentication.

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

Parameter
Name Description
builderForValue UsernameSecretAuth.Builder
Returns
Type Description
DuoAuthSettings.Builder

setHostname(String value)

public DuoAuthSettings.Builder setHostname(String value)

API Hostname.

string hostname = 2;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
DuoAuthSettings.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public DuoAuthSettings.Builder setHostnameBytes(ByteString value)

API Hostname.

string hostname = 2;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
DuoAuthSettings.Builder

This builder for chaining.