public static final class TrellixLocalAuthentication.Builder extends GeneratedMessage.Builder<TrellixLocalAuthentication.Builder> implements TrellixLocalAuthenticationOrBuilderInfo for TrellixLocalAuthentication using a username, password, endpoint, and header name.
Protobuf type google.cloud.chronicle.v1.TrellixLocalAuthentication
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TrellixLocalAuthentication.BuilderImplements
TrellixLocalAuthenticationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TrellixLocalAuthentication build()| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication |
|
buildPartial()
public TrellixLocalAuthentication buildPartial()| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication |
|
clear()
public TrellixLocalAuthentication.Builder clear()| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
|
clearPassword()
public TrellixLocalAuthentication.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 the Trellix administrator.
string password = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
clearTokenEndpoint()
public TrellixLocalAuthentication.Builder clearTokenEndpoint()Required. The endpoint to fetch the token from. This must be a valid URL with an http or https scheme. It has no default.
string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
clearTokenHeader()
public TrellixLocalAuthentication.Builder clearTokenHeader()Required. The HTTP header name to use for the token for authentcated requests. It varies per Trellix product. Refer to the Trellix API documentation for the correct value. It has no default.
string token_header = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
clearUsername()
public TrellixLocalAuthentication.Builder clearUsername()Required. Username for Trellix Local authentication. This is a unique username for the user that is generated on a Trellix device. It has no default, specifically enforced min / max length, or character set.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public TrellixLocalAuthentication getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 the Trellix administrator.
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 the Trellix administrator.
string password = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for password. |
getTokenEndpoint()
public String getTokenEndpoint()Required. The endpoint to fetch the token from. This must be a valid URL with an http or https scheme. It has no default.
string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The tokenEndpoint. |
getTokenEndpointBytes()
public ByteString getTokenEndpointBytes()Required. The endpoint to fetch the token from. This must be a valid URL with an http or https scheme. It has no default.
string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tokenEndpoint. |
getTokenHeader()
public String getTokenHeader()Required. The HTTP header name to use for the token for authentcated requests. It varies per Trellix product. Refer to the Trellix API documentation for the correct value. It has no default.
string token_header = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The tokenHeader. |
getTokenHeaderBytes()
public ByteString getTokenHeaderBytes()Required. The HTTP header name to use for the token for authentcated requests. It varies per Trellix product. Refer to the Trellix API documentation for the correct value. It has no default.
string token_header = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tokenHeader. |
getUsername()
public String getUsername()Required. Username for Trellix Local authentication. This is a unique username for the user that is generated on a Trellix device. It has no default, specifically enforced min / max length, or character set.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()Required. Username for Trellix Local authentication. This is a unique username for the user that is generated on a Trellix device. It has no default, specifically enforced min / max length, or character set.
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TrellixLocalAuthentication other)
public TrellixLocalAuthentication.Builder mergeFrom(TrellixLocalAuthentication other)| Parameter | |
|---|---|
| Name | Description |
other |
TrellixLocalAuthentication |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TrellixLocalAuthentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TrellixLocalAuthentication.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
|
setPassword(String value)
public TrellixLocalAuthentication.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 the Trellix administrator.
string password = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value)
public TrellixLocalAuthentication.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 the Trellix administrator.
string password = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
setTokenEndpoint(String value)
public TrellixLocalAuthentication.Builder setTokenEndpoint(String value)Required. The endpoint to fetch the token from. This must be a valid URL with an http or https scheme. It has no default.
string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tokenEndpoint to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
setTokenEndpointBytes(ByteString value)
public TrellixLocalAuthentication.Builder setTokenEndpointBytes(ByteString value)Required. The endpoint to fetch the token from. This must be a valid URL with an http or https scheme. It has no default.
string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tokenEndpoint to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
setTokenHeader(String value)
public TrellixLocalAuthentication.Builder setTokenHeader(String value)Required. The HTTP header name to use for the token for authentcated requests. It varies per Trellix product. Refer to the Trellix API documentation for the correct value. It has no default.
string token_header = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tokenHeader to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
setTokenHeaderBytes(ByteString value)
public TrellixLocalAuthentication.Builder setTokenHeaderBytes(ByteString value)Required. The HTTP header name to use for the token for authentcated requests. It varies per Trellix product. Refer to the Trellix API documentation for the correct value. It has no default.
string token_header = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tokenHeader to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
setUsername(String value)
public TrellixLocalAuthentication.Builder setUsername(String value)Required. Username for Trellix Local authentication. This is a unique username for the user that is generated on a Trellix device. It has no default, specifically enforced min / max length, or character set.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public TrellixLocalAuthentication.Builder setUsernameBytes(ByteString value)Required. Username for Trellix Local authentication. This is a unique username for the user that is generated on a Trellix device. It has no default, specifically enforced min / max length, or character set.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
TrellixLocalAuthentication.Builder |
This builder for chaining. |