Class WorkloadIdentityConfig (2.46.0)

public final class WorkloadIdentityConfig extends GeneratedMessageV3 implements WorkloadIdentityConfigOrBuilder

Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.

Protobuf type google.container.v1beta1.WorkloadIdentityConfig

Static Fields

IDENTITY_NAMESPACE_FIELD_NUMBER

public static final int IDENTITY_NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

IDENTITY_PROVIDER_FIELD_NUMBER

public static final int IDENTITY_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

WORKLOAD_POOL_FIELD_NUMBER

public static final int WORKLOAD_POOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkloadIdentityConfig getDefaultInstance()
Returns
Type Description
WorkloadIdentityConfig

getDescriptor()

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

newBuilder()

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

newBuilder(WorkloadIdentityConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WorkloadIdentityConfig getDefaultInstanceForType()
Returns
Type Description
WorkloadIdentityConfig

getIdentityNamespace() (deprecated)

public String getIdentityNamespace()

Deprecated. google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. See google/container/v1beta1/cluster_service.proto;l=5204

IAM Identity Namespace to attach all Kubernetes Service Accounts to.

string identity_namespace = 1 [deprecated = true];

Returns
Type Description
String

The identityNamespace.

getIdentityNamespaceBytes() (deprecated)

public ByteString getIdentityNamespaceBytes()

Deprecated. google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. See google/container/v1beta1/cluster_service.proto;l=5204

IAM Identity Namespace to attach all Kubernetes Service Accounts to.

string identity_namespace = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for identityNamespace.

getIdentityProvider()

public String getIdentityProvider()

identity provider is the third party identity provider.

string identity_provider = 3;

Returns
Type Description
String

The identityProvider.

getIdentityProviderBytes()

public ByteString getIdentityProviderBytes()

identity provider is the third party identity provider.

string identity_provider = 3;

Returns
Type Description
ByteString

The bytes for identityProvider.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWorkloadPool()

public String getWorkloadPool()

The workload pool to attach all Kubernetes service accounts to.

string workload_pool = 2;

Returns
Type Description
String

The workloadPool.

getWorkloadPoolBytes()

public ByteString getWorkloadPoolBytes()

The workload pool to attach all Kubernetes service accounts to.

string workload_pool = 2;

Returns
Type Description
ByteString

The bytes for workloadPool.

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 WorkloadIdentityConfig.Builder newBuilderForType()
Returns
Type Description
WorkloadIdentityConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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