- 2.81.0 (latest)
 - 2.79.0
 - 2.78.0
 - 2.77.0
 - 2.76.0
 - 2.75.0
 - 2.73.0
 - 2.71.0
 - 2.70.0
 - 2.67.0
 - 2.66.0
 - 2.65.0
 - 2.63.0
 - 2.62.0
 - 2.61.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.52.0
 - 2.51.0
 - 2.50.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.40.0
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.27.0
 - 2.26.0
 - 2.25.0
 - 2.24.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.12.0
 - 2.11.0
 - 2.10.0
 - 2.9.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.2
 - 2.4.1
 - 2.3.8
 
public static final class Jwk.Builder extends GeneratedMessageV3.Builder<Jwk.Builder> implements JwkOrBuilderJwk is a JSON Web Key as specified in RFC 7517
 Protobuf type google.container.v1beta1.Jwk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Jwk.BuilderImplements
JwkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Jwk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
build()
public Jwk build()| Returns | |
|---|---|
| Type | Description | 
Jwk | 
        |
buildPartial()
public Jwk buildPartial()| Returns | |
|---|---|
| Type | Description | 
Jwk | 
        |
clear()
public Jwk.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
clearAlg()
public Jwk.Builder clearAlg()Algorithm.
 string alg = 2;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearCrv()
public Jwk.Builder clearCrv()Used for ECDSA keys.
 string crv = 9;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearE()
public Jwk.Builder clearE()Used for RSA keys.
 string e = 6;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Jwk.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
clearKid()
public Jwk.Builder clearKid()Key ID.
 string kid = 4;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearKty()
public Jwk.Builder clearKty()Key Type.
 string kty = 1;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearN()
public Jwk.Builder clearN()Used for RSA keys.
 string n = 5;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Jwk.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
clearUse()
public Jwk.Builder clearUse()Permitted uses for the public keys.
 string use = 3;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearX()
public Jwk.Builder clearX()Used for ECDSA keys.
 string x = 7;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clearY()
public Jwk.Builder clearY()Used for ECDSA keys.
 string y = 8;
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
clone()
public Jwk.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
getAlg()
public String getAlg()Algorithm.
 string alg = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The alg.  | 
      
getAlgBytes()
public ByteString getAlgBytes()Algorithm.
 string alg = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for alg.  | 
      
getCrv()
public String getCrv()Used for ECDSA keys.
 string crv = 9;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The crv.  | 
      
getCrvBytes()
public ByteString getCrvBytes()Used for ECDSA keys.
 string crv = 9;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for crv.  | 
      
getDefaultInstanceForType()
public Jwk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Jwk | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getE()
public String getE()Used for RSA keys.
 string e = 6;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The e.  | 
      
getEBytes()
public ByteString getEBytes()Used for RSA keys.
 string e = 6;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for e.  | 
      
getKid()
public String getKid()Key ID.
 string kid = 4;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The kid.  | 
      
getKidBytes()
public ByteString getKidBytes()Key ID.
 string kid = 4;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for kid.  | 
      
getKty()
public String getKty()Key Type.
 string kty = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The kty.  | 
      
getKtyBytes()
public ByteString getKtyBytes()Key Type.
 string kty = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for kty.  | 
      
getN()
public String getN()Used for RSA keys.
 string n = 5;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The n.  | 
      
getNBytes()
public ByteString getNBytes()Used for RSA keys.
 string n = 5;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for n.  | 
      
getUse()
public String getUse()Permitted uses for the public keys.
 string use = 3;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The use.  | 
      
getUseBytes()
public ByteString getUseBytes()Permitted uses for the public keys.
 string use = 3;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for use.  | 
      
getX()
public String getX()Used for ECDSA keys.
 string x = 7;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The x.  | 
      
getXBytes()
public ByteString getXBytes()Used for ECDSA keys.
 string x = 7;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for x.  | 
      
getY()
public String getY()Used for ECDSA keys.
 string y = 8;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The y.  | 
      
getYBytes()
public ByteString getYBytes()Used for ECDSA keys.
 string y = 8;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for y.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(Jwk other)
public Jwk.Builder mergeFrom(Jwk other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Jwk | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Jwk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Jwk.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Jwk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
setAlg(String value)
public Jwk.Builder setAlg(String value)Algorithm.
 string alg = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe alg to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setAlgBytes(ByteString value)
public Jwk.Builder setAlgBytes(ByteString value)Algorithm.
 string alg = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for alg to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setCrv(String value)
public Jwk.Builder setCrv(String value)Used for ECDSA keys.
 string crv = 9;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe crv to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setCrvBytes(ByteString value)
public Jwk.Builder setCrvBytes(ByteString value)Used for ECDSA keys.
 string crv = 9;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for crv to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setE(String value)
public Jwk.Builder setE(String value)Used for RSA keys.
 string e = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe e to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setEBytes(ByteString value)
public Jwk.Builder setEBytes(ByteString value)Used for RSA keys.
 string e = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for e to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Jwk.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
setKid(String value)
public Jwk.Builder setKid(String value)Key ID.
 string kid = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe kid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setKidBytes(ByteString value)
public Jwk.Builder setKidBytes(ByteString value)Key ID.
 string kid = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for kid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setKty(String value)
public Jwk.Builder setKty(String value)Key Type.
 string kty = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe kty to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setKtyBytes(ByteString value)
public Jwk.Builder setKtyBytes(ByteString value)Key Type.
 string kty = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for kty to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setN(String value)
public Jwk.Builder setN(String value)Used for RSA keys.
 string n = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe n to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setNBytes(ByteString value)
public Jwk.Builder setNBytes(ByteString value)Used for RSA keys.
 string n = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for n to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Jwk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final Jwk.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        |
setUse(String value)
public Jwk.Builder setUse(String value)Permitted uses for the public keys.
 string use = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe use to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setUseBytes(ByteString value)
public Jwk.Builder setUseBytes(ByteString value)Permitted uses for the public keys.
 string use = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for use to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setX(String value)
public Jwk.Builder setX(String value)Used for ECDSA keys.
 string x = 7;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe x to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setXBytes(ByteString value)
public Jwk.Builder setXBytes(ByteString value)Used for ECDSA keys.
 string x = 7;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for x to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setY(String value)
public Jwk.Builder setY(String value)Used for ECDSA keys.
 string y = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe y to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  | 
      
setYBytes(ByteString value)
public Jwk.Builder setYBytes(ByteString value)Used for ECDSA keys.
 string y = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for y to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Jwk.Builder | 
        This builder for chaining.  |