Class TrellixIAMAuthentication.Builder (0.37.0)

public static final class TrellixIAMAuthentication.Builder extends GeneratedMessage.Builder<TrellixIAMAuthentication.Builder> implements TrellixIAMAuthenticationOrBuilder

Settings for TrellixIAMAuthentication.

Protobuf type google.cloud.chronicle.v1.TrellixIAMAuthentication

Static Methods

getDescriptor()

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

Methods

build()

public TrellixIAMAuthentication build()
Returns
Type Description
TrellixIAMAuthentication

buildPartial()

public TrellixIAMAuthentication buildPartial()
Returns
Type Description
TrellixIAMAuthentication

clear()

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

clearClientId()

public TrellixIAMAuthentication.Builder clearClientId()

Required. Client ID generated in Trellix IAM. This is a unique identifier for the user that is generated in Trellix IAM. It has no default, specifically enforced min / max length or character set. It is assumed that the Client ID generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

clearClientSecret()

public TrellixIAMAuthentication.Builder clearClientSecret()

Required. Secret associated with the Client ID. This is the secret generated in Trellix IAM for the Client ID. It has no default, specifically enforced min / max length or character set. It is assumed that the secret generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

clearScope()

public TrellixIAMAuthentication.Builder clearScope()

Required. OAUTH 2 scope to request for the authentication token. This is the OAUTH 2 scope to request for the authentication token. It has no default, specifically enforced min / max length or character set. It is assumed that the scope provided is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

getClientId()

public String getClientId()

Required. Client ID generated in Trellix IAM. This is a unique identifier for the user that is generated in Trellix IAM. It has no default, specifically enforced min / max length or character set. It is assumed that the Client ID generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
String

The clientId.

getClientIdBytes()

public ByteString getClientIdBytes()

Required. Client ID generated in Trellix IAM. This is a unique identifier for the user that is generated in Trellix IAM. It has no default, specifically enforced min / max length or character set. It is assumed that the Client ID generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
ByteString

The bytes for clientId.

getClientSecret()

public String getClientSecret()

Required. Secret associated with the Client ID. This is the secret generated in Trellix IAM for the Client ID. It has no default, specifically enforced min / max length or character set. It is assumed that the secret generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
String

The clientSecret.

getClientSecretBytes()

public ByteString getClientSecretBytes()

Required. Secret associated with the Client ID. This is the secret generated in Trellix IAM for the Client ID. It has no default, specifically enforced min / max length or character set. It is assumed that the secret generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
ByteString

The bytes for clientSecret.

getDefaultInstanceForType()

public TrellixIAMAuthentication getDefaultInstanceForType()
Returns
Type Description
TrellixIAMAuthentication

getDescriptorForType()

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

getScope()

public String getScope()

Required. OAUTH 2 scope to request for the authentication token. This is the OAUTH 2 scope to request for the authentication token. It has no default, specifically enforced min / max length or character set. It is assumed that the scope provided is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Required. OAUTH 2 scope to request for the authentication token. This is the OAUTH 2 scope to request for the authentication token. It has no default, specifically enforced min / max length or character set. It is assumed that the scope provided is internally consistent with Trellix IAM authentication requirements / validation.

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

Returns
Type Description
ByteString

The bytes for scope.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrellixIAMAuthentication other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setClientId(String value)

public TrellixIAMAuthentication.Builder setClientId(String value)

Required. Client ID generated in Trellix IAM. This is a unique identifier for the user that is generated in Trellix IAM. It has no default, specifically enforced min / max length or character set. It is assumed that the Client ID generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Parameter
Name Description
value String

The clientId to set.

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

setClientIdBytes(ByteString value)

public TrellixIAMAuthentication.Builder setClientIdBytes(ByteString value)

Required. Client ID generated in Trellix IAM. This is a unique identifier for the user that is generated in Trellix IAM. It has no default, specifically enforced min / max length or character set. It is assumed that the Client ID generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Parameter
Name Description
value ByteString

The bytes for clientId to set.

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

setClientSecret(String value)

public TrellixIAMAuthentication.Builder setClientSecret(String value)

Required. Secret associated with the Client ID. This is the secret generated in Trellix IAM for the Client ID. It has no default, specifically enforced min / max length or character set. It is assumed that the secret generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Parameter
Name Description
value String

The clientSecret to set.

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

setClientSecretBytes(ByteString value)

public TrellixIAMAuthentication.Builder setClientSecretBytes(ByteString value)

Required. Secret associated with the Client ID. This is the secret generated in Trellix IAM for the Client ID. It has no default, specifically enforced min / max length or character set. It is assumed that the secret generated in Trellix IAM is internally consistent with Trellix IAM authentication requirements / validation.

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

Parameter
Name Description
value ByteString

The bytes for clientSecret to set.

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

setScope(String value)

public TrellixIAMAuthentication.Builder setScope(String value)

Required. OAUTH 2 scope to request for the authentication token. This is the OAUTH 2 scope to request for the authentication token. It has no default, specifically enforced min / max length or character set. It is assumed that the scope provided is internally consistent with Trellix IAM authentication requirements / validation.

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

Parameter
Name Description
value String

The scope to set.

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.

setScopeBytes(ByteString value)

public TrellixIAMAuthentication.Builder setScopeBytes(ByteString value)

Required. OAUTH 2 scope to request for the authentication token. This is the OAUTH 2 scope to request for the authentication token. It has no default, specifically enforced min / max length or character set. It is assumed that the scope provided is internally consistent with Trellix IAM authentication requirements / validation.

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

Parameter
Name Description
value ByteString

The bytes for scope to set.

Returns
Type Description
TrellixIAMAuthentication.Builder

This builder for chaining.