Class SecurityConfig (4.12.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
TypeDescription
int

KERBEROS_CONFIG_FIELD_NUMBER

public static final int KERBEROS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityConfig getDefaultInstance()
Returns
TypeDescription
SecurityConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityConfig.Builder newBuilder()
Returns
TypeDescription
SecurityConfig.Builder

newBuilder(SecurityConfig prototype)

public static SecurityConfig.Builder newBuilder(SecurityConfig prototype)
Parameter
NameDescription
prototypeSecurityConfig
Returns
TypeDescription
SecurityConfig.Builder

parseDelimitedFrom(InputStream input)

public static SecurityConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityConfig> parser()
Returns
TypeDescription
Parser<SecurityConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SecurityConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IdentityConfigOrBuilder

getKerberosConfig()

public KerberosConfig getKerberosConfig()

Optional. Kerberos related configuration.

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

Returns
TypeDescription
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
TypeDescription
KerberosConfigOrBuilder

getParserForType()

public Parser<SecurityConfig> getParserForType()
Returns
TypeDescription
Parser<SecurityConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
boolean

Whether the kerberosConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityConfig.Builder newBuilderForType()
Returns
TypeDescription
SecurityConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityConfig.Builder toBuilder()
Returns
TypeDescription
SecurityConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException