Class SecurityConfig (4.43.0)

public final class SecurityConfig extends GeneratedMessageV3 implements SecurityConfigOrBuilder

Security related configuration, including encryption, Kerberos, etc.

Protobuf type google.cloud.dataproc.v1.SecurityConfig

Static Fields

IDENTITY_CONFIG_FIELD_NUMBER

public static final int IDENTITY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

KERBEROS_CONFIG_FIELD_NUMBER

public static final int KERBEROS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityConfig getDefaultInstance()
Returns
Type Description
SecurityConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityConfig getDefaultInstanceForType()
Returns
Type Description
SecurityConfig

getIdentityConfig()

public IdentityConfig getIdentityConfig()

Optional. Identity related configuration, including service account based secure multi-tenancy user mappings.

.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IdentityConfig

The identityConfig.

getIdentityConfigOrBuilder()

public IdentityConfigOrBuilder getIdentityConfigOrBuilder()

Optional. Identity related configuration, including service account based secure multi-tenancy user mappings.

.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IdentityConfigOrBuilder

getKerberosConfig()

public KerberosConfig getKerberosConfig()

Optional. Kerberos related configuration.

.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig

The kerberosConfig.

getKerberosConfigOrBuilder()

public KerberosConfigOrBuilder getKerberosConfigOrBuilder()

Optional. Kerberos related configuration.

.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfigOrBuilder

getParserForType()

public Parser<SecurityConfig> getParserForType()
Returns
Type Description
Parser<SecurityConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasIdentityConfig()

public boolean hasIdentityConfig()

Optional. Identity related configuration, including service account based secure multi-tenancy user mappings.

.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the identityConfig field is set.

hasKerberosConfig()

public boolean hasKerberosConfig()

Optional. Kerberos related configuration.

.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the kerberosConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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