Package com.daml.ledger.api.v1.admin
Class IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
- com.daml.ledger.api.v1.admin.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
-
- All Implemented Interfaces:
IdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- IdentityProviderConfigServiceOuterClass.IdentityProviderConfig
public static final class IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder> implements IdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.IdentityProviderConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig
build()
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig
buildPartial()
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clear()
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clearIdentityProviderId()
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``).IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clearIsDeactivated()
When set, the callers using JWT tokens issued by this identity provider are denied all access to the Ledger API.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clearIssuer()
Specifies the issuer of the JWT token.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clearJwksUrl()
The JWKS (JSON Web Key Set) URL.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
clone()
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getIdentityProviderId()
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``).com.google.protobuf.ByteString
getIdentityProviderIdBytes()
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``).boolean
getIsDeactivated()
When set, the callers using JWT tokens issued by this identity provider are denied all access to the Ledger API.java.lang.String
getIssuer()
Specifies the issuer of the JWT token.com.google.protobuf.ByteString
getIssuerBytes()
Specifies the issuer of the JWT token.java.lang.String
getJwksUrl()
The JWKS (JSON Web Key Set) URL.com.google.protobuf.ByteString
getJwksUrlBytes()
The JWKS (JSON Web Key Set) URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
mergeFrom(IdentityProviderConfigServiceOuterClass.IdentityProviderConfig other)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
mergeFrom(com.google.protobuf.Message other)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setIdentityProviderId(java.lang.String value)
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``).IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setIdentityProviderIdBytes(com.google.protobuf.ByteString value)
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``).IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setIsDeactivated(boolean value)
When set, the callers using JWT tokens issued by this identity provider are denied all access to the Ledger API.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setIssuer(java.lang.String value)
Specifies the issuer of the JWT token.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setIssuerBytes(com.google.protobuf.ByteString value)
Specifies the issuer of the JWT token.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setJwksUrl(java.lang.String value)
The JWKS (JSON Web Key Set) URL.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setJwksUrlBytes(com.google.protobuf.ByteString value)
The JWKS (JSON Web Key Set) URL.IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
clear
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
getDefaultInstanceForType
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
setField
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
clearField
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
clearOneof
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
setRepeatedField
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
addRepeatedField
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
mergeFrom
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
mergeFrom
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder mergeFrom(IdentityProviderConfigServiceOuterClass.IdentityProviderConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
mergeFrom
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
- Throws:
java.io.IOException
-
getIdentityProviderId
public java.lang.String getIdentityProviderId()
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``). Required
string identity_provider_id = 1 [json_name = "identityProviderId"];
- Specified by:
getIdentityProviderId
in interfaceIdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
- Returns:
- The identityProviderId.
-
getIdentityProviderIdBytes
public com.google.protobuf.ByteString getIdentityProviderIdBytes()
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``). Required
string identity_provider_id = 1 [json_name = "identityProviderId"];
- Specified by:
getIdentityProviderIdBytes
in interfaceIdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
- Returns:
- The bytes for identityProviderId.
-
setIdentityProviderId
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setIdentityProviderId(java.lang.String value)
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``). Required
string identity_provider_id = 1 [json_name = "identityProviderId"];
- Parameters:
value
- The identityProviderId to set.- Returns:
- This builder for chaining.
-
clearIdentityProviderId
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clearIdentityProviderId()
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``). Required
string identity_provider_id = 1 [json_name = "identityProviderId"];
- Returns:
- This builder for chaining.
-
setIdentityProviderIdBytes
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setIdentityProviderIdBytes(com.google.protobuf.ByteString value)
The identity provider identifier Must be a valid LedgerString (as describe in ``value.proto``). Required
string identity_provider_id = 1 [json_name = "identityProviderId"];
- Parameters:
value
- The bytes for identityProviderId to set.- Returns:
- This builder for chaining.
-
getIsDeactivated
public boolean getIsDeactivated()
When set, the callers using JWT tokens issued by this identity provider are denied all access to the Ledger API. Optional, Modifiable
bool is_deactivated = 2 [json_name = "isDeactivated"];
- Specified by:
getIsDeactivated
in interfaceIdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
- Returns:
- The isDeactivated.
-
setIsDeactivated
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setIsDeactivated(boolean value)
When set, the callers using JWT tokens issued by this identity provider are denied all access to the Ledger API. Optional, Modifiable
bool is_deactivated = 2 [json_name = "isDeactivated"];
- Parameters:
value
- The isDeactivated to set.- Returns:
- This builder for chaining.
-
clearIsDeactivated
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clearIsDeactivated()
When set, the callers using JWT tokens issued by this identity provider are denied all access to the Ledger API. Optional, Modifiable
bool is_deactivated = 2 [json_name = "isDeactivated"];
- Returns:
- This builder for chaining.
-
getIssuer
public java.lang.String getIssuer()
Specifies the issuer of the JWT token. The issuer value is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components. Required Modifiable
string issuer = 3 [json_name = "issuer"];
- Specified by:
getIssuer
in interfaceIdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
- Returns:
- The issuer.
-
getIssuerBytes
public com.google.protobuf.ByteString getIssuerBytes()
Specifies the issuer of the JWT token. The issuer value is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components. Required Modifiable
string issuer = 3 [json_name = "issuer"];
- Specified by:
getIssuerBytes
in interfaceIdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
- Returns:
- The bytes for issuer.
-
setIssuer
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setIssuer(java.lang.String value)
Specifies the issuer of the JWT token. The issuer value is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components. Required Modifiable
string issuer = 3 [json_name = "issuer"];
- Parameters:
value
- The issuer to set.- Returns:
- This builder for chaining.
-
clearIssuer
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clearIssuer()
Specifies the issuer of the JWT token. The issuer value is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components. Required Modifiable
string issuer = 3 [json_name = "issuer"];
- Returns:
- This builder for chaining.
-
setIssuerBytes
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setIssuerBytes(com.google.protobuf.ByteString value)
Specifies the issuer of the JWT token. The issuer value is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components. Required Modifiable
string issuer = 3 [json_name = "issuer"];
- Parameters:
value
- The bytes for issuer to set.- Returns:
- This builder for chaining.
-
getJwksUrl
public java.lang.String getJwksUrl()
The JWKS (JSON Web Key Set) URL. The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported. Required Modifiable
string jwks_url = 4 [json_name = "jwksUrl"];
- Specified by:
getJwksUrl
in interfaceIdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
- Returns:
- The jwksUrl.
-
getJwksUrlBytes
public com.google.protobuf.ByteString getJwksUrlBytes()
The JWKS (JSON Web Key Set) URL. The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported. Required Modifiable
string jwks_url = 4 [json_name = "jwksUrl"];
- Specified by:
getJwksUrlBytes
in interfaceIdentityProviderConfigServiceOuterClass.IdentityProviderConfigOrBuilder
- Returns:
- The bytes for jwksUrl.
-
setJwksUrl
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setJwksUrl(java.lang.String value)
The JWKS (JSON Web Key Set) URL. The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported. Required Modifiable
string jwks_url = 4 [json_name = "jwksUrl"];
- Parameters:
value
- The jwksUrl to set.- Returns:
- This builder for chaining.
-
clearJwksUrl
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder clearJwksUrl()
The JWKS (JSON Web Key Set) URL. The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported. Required Modifiable
string jwks_url = 4 [json_name = "jwksUrl"];
- Returns:
- This builder for chaining.
-
setJwksUrlBytes
public IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setJwksUrlBytes(com.google.protobuf.ByteString value)
The JWKS (JSON Web Key Set) URL. The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported. Required Modifiable
string jwks_url = 4 [json_name = "jwksUrl"];
- Parameters:
value
- The bytes for jwksUrl to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
mergeUnknownFields
public final IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<IdentityProviderConfigServiceOuterClass.IdentityProviderConfig.Builder>
-
-