Class Jwt.Builder (2.84.0)

public static final class Jwt.Builder extends GeneratedMessage.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

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.

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 GeneratedMessage.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

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.