Class TrellixLocalAuthentication (0.37.0)

public final class TrellixLocalAuthentication extends GeneratedMessage implements TrellixLocalAuthenticationOrBuilder

Info for TrellixLocalAuthentication using a username, password, endpoint, and header name.

Protobuf type google.cloud.chronicle.v1.TrellixLocalAuthentication

Static Fields

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

TOKEN_ENDPOINT_FIELD_NUMBER

public static final int TOKEN_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

TOKEN_HEADER_FIELD_NUMBER

public static final int TOKEN_HEADER_FIELD_NUMBER
Field Value
Type Description
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TrellixLocalAuthentication getDefaultInstance()
Returns
Type Description
TrellixLocalAuthentication

getDescriptor()

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

newBuilder()

public static TrellixLocalAuthentication.Builder newBuilder()
Returns
Type Description
TrellixLocalAuthentication.Builder

newBuilder(TrellixLocalAuthentication prototype)

public static TrellixLocalAuthentication.Builder newBuilder(TrellixLocalAuthentication prototype)
Parameter
Name Description
prototype TrellixLocalAuthentication
Returns
Type Description
TrellixLocalAuthentication.Builder

parseDelimitedFrom(InputStream input)

public static TrellixLocalAuthentication parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrellixLocalAuthentication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TrellixLocalAuthentication parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrellixLocalAuthentication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrellixLocalAuthentication parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrellixLocalAuthentication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TrellixLocalAuthentication parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TrellixLocalAuthentication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TrellixLocalAuthentication parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrellixLocalAuthentication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TrellixLocalAuthentication parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TrellixLocalAuthentication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrellixLocalAuthentication
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TrellixLocalAuthentication> parser()
Returns
Type Description
Parser<TrellixLocalAuthentication>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TrellixLocalAuthentication getDefaultInstanceForType()
Returns
Type Description
TrellixLocalAuthentication

getParserForType()

public Parser<TrellixLocalAuthentication> getParserForType()
Returns
Type Description
Parser<TrellixLocalAuthentication>
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 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TrellixLocalAuthentication.Builder newBuilderForType()
Returns
Type Description
TrellixLocalAuthentication.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected TrellixLocalAuthentication.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TrellixLocalAuthentication.Builder
Overrides

toBuilder()

public TrellixLocalAuthentication.Builder toBuilder()
Returns
Type Description
TrellixLocalAuthentication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException