Class MssoAuthentication.Builder (0.37.0)

public static final class MssoAuthentication.Builder extends GeneratedMessage.Builder<MssoAuthentication.Builder> implements MssoAuthenticationOrBuilder

Info for MssoAuthentication using a username, password, and login api endpoint.

Protobuf type google.cloud.chronicle.v1.MssoAuthentication

Static Methods

getDescriptor()

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

Methods

build()

public MssoAuthentication build()
Returns
Type Description
MssoAuthentication

buildPartial()

public MssoAuthentication buildPartial()
Returns
Type Description
MssoAuthentication

clear()

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

clearApiEndpoint()

public MssoAuthentication.Builder clearApiEndpoint()

Required. The login api endpoint url. This must be a valid URL with an http or https scheme. It has no default.

string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

clearPassword()

public MssoAuthentication.Builder clearPassword()

Required. Password of the account identified by username. There are no restrictions on the format of the password. It has no default, specifically enforced min / max length or character set. The password will have been provided by an MSSO administrator and it is assumed that they have provided a password that is internally consistent with MSSO authentication requirements / validation.

string password = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

clearUsername()

public MssoAuthentication.Builder clearUsername()

Required. Username for MSSO authentication. There are no restrictions on the format of the username. It has no default, specifically enforced min / max length or character set. The username will have been provided by an MSSO administrator and it is assumed that they have provided a username that is internally consistent with MSSO authentication requirements / validation.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

getApiEndpoint()

public String getApiEndpoint()

Required. The login api endpoint url. This must be a valid URL with an http or https scheme. It has no default.

string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apiEndpoint.

getApiEndpointBytes()

public ByteString getApiEndpointBytes()

Required. The login api endpoint url. This must be a valid URL with an http or https scheme. It has no default.

string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apiEndpoint.

getDefaultInstanceForType()

public MssoAuthentication getDefaultInstanceForType()
Returns
Type Description
MssoAuthentication

getDescriptorForType()

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

getPassword()

public String getPassword()

Required. Password of the account identified by username. There are no restrictions on the format of the password. It has no default, specifically enforced min / max length or character set. The password will have been provided by an MSSO administrator and it is assumed that they have provided a password that is internally consistent with MSSO authentication requirements / validation.

string password = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. Password of the account identified by username. There are no restrictions on the format of the password. It has no default, specifically enforced min / max length or character set. The password will have been provided by an MSSO administrator and it is assumed that they have provided a password that is internally consistent with MSSO authentication requirements / validation.

string password = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for password.

getUsername()

public String getUsername()

Required. Username for MSSO authentication. There are no restrictions on the format of the username. It has no default, specifically enforced min / max length or character set. The username will have been provided by an MSSO administrator and it is assumed that they have provided a username that is internally consistent with MSSO authentication requirements / validation.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. Username for MSSO authentication. There are no restrictions on the format of the username. It has no default, specifically enforced min / max length or character set. The username will have been provided by an MSSO administrator and it is assumed that they have provided a username that is internally consistent with MSSO authentication requirements / validation.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for username.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MssoAuthentication other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setApiEndpoint(String value)

public MssoAuthentication.Builder setApiEndpoint(String value)

Required. The login api endpoint url. This must be a valid URL with an http or https scheme. It has no default.

string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The apiEndpoint to set.

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

setApiEndpointBytes(ByteString value)

public MssoAuthentication.Builder setApiEndpointBytes(ByteString value)

Required. The login api endpoint url. This must be a valid URL with an http or https scheme. It has no default.

string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for apiEndpoint to set.

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

setPassword(String value)

public MssoAuthentication.Builder setPassword(String value)

Required. Password of the account identified by username. There are no restrictions on the format of the password. It has no default, specifically enforced min / max length or character set. The password will have been provided by an MSSO administrator and it is assumed that they have provided a password that is internally consistent with MSSO authentication requirements / validation.

string password = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public MssoAuthentication.Builder setPasswordBytes(ByteString value)

Required. Password of the account identified by username. There are no restrictions on the format of the password. It has no default, specifically enforced min / max length or character set. The password will have been provided by an MSSO administrator and it is assumed that they have provided a password that is internally consistent with MSSO authentication requirements / validation.

string password = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

setUsername(String value)

public MssoAuthentication.Builder setUsername(String value)

Required. Username for MSSO authentication. There are no restrictions on the format of the username. It has no default, specifically enforced min / max length or character set. The username will have been provided by an MSSO administrator and it is assumed that they have provided a username that is internally consistent with MSSO authentication requirements / validation.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The username to set.

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public MssoAuthentication.Builder setUsernameBytes(ByteString value)

Required. Username for MSSO authentication. There are no restrictions on the format of the username. It has no default, specifically enforced min / max length or character set. The username will have been provided by an MSSO administrator and it is assumed that they have provided a username that is internally consistent with MSSO authentication requirements / validation.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
MssoAuthentication.Builder

This builder for chaining.