Class CsmSettings.Builder (0.5.0)

public static final class CsmSettings.Builder extends GeneratedMessageV3.Builder<CsmSettings.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CsmSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CsmSettings.Builder
Overrides

build()

public CsmSettings build()
Returns
Type Description
CsmSettings

buildPartial()

public CsmSettings buildPartial()
Returns
Type Description
CsmSettings

clear()

public CsmSettings.Builder clear()
Returns
Type Description
CsmSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CsmSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CsmSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CsmSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CsmSettings.Builder
Overrides

clearRctokenAud()

public CsmSettings.Builder clearRctokenAud()

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

.google.protobuf.StringValue rctoken_aud = 1;

Returns
Type Description
CsmSettings.Builder

clone()

public CsmSettings.Builder clone()
Returns
Type Description
CsmSettings.Builder
Overrides

getDefaultInstanceForType()

public CsmSettings getDefaultInstanceForType()
Returns
Type Description
CsmSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getRctokenAudBuilder()

public StringValue.Builder getRctokenAudBuilder()

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

.google.protobuf.StringValue rctoken_aud = 1;

Returns
Type Description
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CsmSettings other)

public CsmSettings.Builder mergeFrom(CsmSettings other)
Parameter
Name Description
other CsmSettings
Returns
Type Description
CsmSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CsmSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CsmSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CsmSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CsmSettings.Builder
Overrides

mergeRctokenAud(StringValue value)

public CsmSettings.Builder mergeRctokenAud(StringValue value)

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

.google.protobuf.StringValue rctoken_aud = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
CsmSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CsmSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CsmSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CsmSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CsmSettings.Builder
Overrides

setRctokenAud(StringValue value)

public CsmSettings.Builder setRctokenAud(StringValue value)

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

.google.protobuf.StringValue rctoken_aud = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
CsmSettings.Builder

setRctokenAud(StringValue.Builder builderForValue)

public CsmSettings.Builder setRctokenAud(StringValue.Builder builderForValue)

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

.google.protobuf.StringValue rctoken_aud = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CsmSettings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CsmSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CsmSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CsmSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CsmSettings.Builder
Overrides