Class Jwt (2.4.3)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Jwt getDefaultInstance()
Returns
TypeDescription
Jwt

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Jwt.Builder newBuilder()
Returns
TypeDescription
Jwt.Builder

newBuilder(Jwt prototype)

public static Jwt.Builder newBuilder(Jwt prototype)
Parameter
NameDescription
prototypeJwt
Returns
TypeDescription
Jwt.Builder

parseDelimitedFrom(InputStream input)

public static Jwt parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Jwt parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Jwt parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Jwt parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Jwt parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Jwt parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Jwt parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Jwt parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Jwt
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Jwt> parser()
Returns
TypeDescription
Parser<Jwt>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for compactJwt.

getDefaultInstanceForType()

public Jwt getDefaultInstanceForType()
Returns
TypeDescription
Jwt

getParserForType()

public Parser<Jwt> getParserForType()
Returns
TypeDescription
Parser<Jwt>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Jwt.Builder newBuilderForType()
Returns
TypeDescription
Jwt.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Jwt.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Jwt.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Jwt.Builder toBuilder()
Returns
TypeDescription
Jwt.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException