public static final class DuoAuthSettings.Builder extends GeneratedMessage.Builder<DuoAuthSettings.Builder> implements DuoAuthSettingsOrBuilderDuo Authentication settings.
Protobuf type google.cloud.chronicle.v1.DuoAuthSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DuoAuthSettings.BuilderImplements
DuoAuthSettingsOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DuoAuthSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DuoAuthSettings.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
DuoAuthSettings.Builder |
This builder for chaining. |