public static final class DuoUserContextSettings.Builder extends GeneratedMessage.Builder<DuoUserContextSettings.Builder> implements DuoUserContextSettingsOrBuilderDuo User Context settings.
Protobuf type google.cloud.chronicle.v1.DuoUserContextSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DuoUserContextSettings.BuilderImplements
DuoUserContextSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DuoUserContextSettings build()| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings |
|
buildPartial()
public DuoUserContextSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings |
|
clear()
public DuoUserContextSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.Builder |
|
clearAuthentication()
public DuoUserContextSettings.Builder clearAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.Builder |
|
clearHostname()
public DuoUserContextSettings.Builder clearHostname()API hostname.
string hostname = 2;
| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.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 DuoUserContextSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings |
|
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 DuoUserContextSettings.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 |
DuoUserContextSettings.Builder |
|
mergeFrom(DuoUserContextSettings other)
public DuoUserContextSettings.Builder mergeFrom(DuoUserContextSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
DuoUserContextSettings |
| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DuoUserContextSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DuoUserContextSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.Builder |
|
setAuthentication(UsernameSecretAuth value)
public DuoUserContextSettings.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 |
DuoUserContextSettings.Builder |
|
setAuthentication(UsernameSecretAuth.Builder builderForValue)
public DuoUserContextSettings.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 |
DuoUserContextSettings.Builder |
|
setHostname(String value)
public DuoUserContextSettings.Builder setHostname(String value)API hostname.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hostname to set. |
| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public DuoUserContextSettings.Builder setHostnameBytes(ByteString value)API hostname.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
DuoUserContextSettings.Builder |
This builder for chaining. |