Class Jwt.Builder (2.49.0)

public static final class Jwt.Builder extends GeneratedMessageV3.Builder<Jwt.Builder> implements JwtOrBuilder

Protobuf type grafeas.v1.Jwt

Implements

JwtOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Jwt build()
Returns
Type Description
Jwt

buildPartial()

public Jwt buildPartial()
Returns
Type Description
Jwt

clear()

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

clearCompactJwt()

public Jwt.Builder clearCompactJwt()

The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1

string compact_jwt = 1;

Returns
Type Description
Jwt.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCompactJwt()

public String getCompactJwt()

The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1

string compact_jwt = 1;

Returns
Type Description
String

The compactJwt.

getCompactJwtBytes()

public ByteString getCompactJwtBytes()

The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1

string compact_jwt = 1;

Returns
Type Description
ByteString

The bytes for compactJwt.

getDefaultInstanceForType()

public Jwt getDefaultInstanceForType()
Returns
Type Description
Jwt

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Jwt other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompactJwt(String value)

public Jwt.Builder setCompactJwt(String value)

The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1

string compact_jwt = 1;

Parameter
Name Description
value String

The compactJwt to set.

Returns
Type Description
Jwt.Builder

This builder for chaining.

setCompactJwtBytes(ByteString value)

public Jwt.Builder setCompactJwtBytes(ByteString value)

The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1

string compact_jwt = 1;

Parameter
Name Description
value ByteString

The bytes for compactJwt to set.

Returns
Type Description
Jwt.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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