Class Jwt (2.53.0)

public final class Jwt extends GeneratedMessageV3 implements JwtOrBuilder

Protobuf type grafeas.v1.Jwt

Implements

JwtOrBuilder

Static Fields

COMPACT_JWT_FIELD_NUMBER

public static final int COMPACT_JWT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Jwt getDefaultInstance()
Returns
Type Description
Jwt

getDescriptor()

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

newBuilder()

public static Jwt.Builder newBuilder()
Returns
Type Description
Jwt.Builder

newBuilder(Jwt prototype)

public static Jwt.Builder newBuilder(Jwt prototype)
Parameter
Name Description
prototype Jwt
Returns
Type Description
Jwt.Builder

parseDelimitedFrom(InputStream input)

public static Jwt parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Jwt
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Jwt parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Jwt
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Jwt parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Jwt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Jwt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Jwt parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Jwt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Jwt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Jwt parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Jwt
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Jwt
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Jwt parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Jwt
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Jwt
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Jwt parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Jwt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Jwt
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Jwt> parser()
Returns
Type Description
Parser<Jwt>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<Jwt> getParserForType()
Returns
Type Description
Parser<Jwt>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Jwt.Builder newBuilderForType()
Returns
Type Description
Jwt.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Jwt.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Jwt.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Jwt.Builder toBuilder()
Returns
Type Description
Jwt.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException