Class CsmSettings (0.7.0)

public final class CsmSettings extends GeneratedMessageV3 implements CsmSettingsOrBuilder

Configuration for RCToken generated for service mesh workloads protected by IAP. RCToken are IAP generated JWTs that can be verified at the application. The RCToken is primarily used for service mesh deployments, and can be scoped to a single mesh by configuring the audience field accordingly.

Protobuf type google.cloud.iap.v1.CsmSettings

Static Fields

RCTOKEN_AUD_FIELD_NUMBER

public static final int RCTOKEN_AUD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CsmSettings getDefaultInstance()
Returns
Type Description
CsmSettings

getDescriptor()

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

newBuilder()

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

newBuilder(CsmSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CsmSettings getDefaultInstanceForType()
Returns
Type Description
CsmSettings

getParserForType()

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

getRctokenAud()

public StringValue getRctokenAud()

Audience claim set in the generated RCToken. This value is not validated by IAP.

.google.protobuf.StringValue rctoken_aud = 1;

Returns
Type Description
StringValue

The rctokenAud.

getRctokenAudOrBuilder()

public StringValueOrBuilder getRctokenAudOrBuilder()

Audience claim set in the generated RCToken. This value is not validated by IAP.

.google.protobuf.StringValue rctoken_aud = 1;

Returns
Type Description
StringValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasRctokenAud()

public boolean hasRctokenAud()

Audience claim set in the generated RCToken. This value is not validated by IAP.

.google.protobuf.StringValue rctoken_aud = 1;

Returns
Type Description
boolean

Whether the rctokenAud 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 CsmSettings.Builder newBuilderForType()
Returns
Type Description
CsmSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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