Class Jwt.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Jwt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Jwt.Builder
Overrides

build()

public Jwt build()
Returns
TypeDescription
Jwt

buildPartial()

public Jwt buildPartial()
Returns
TypeDescription
Jwt

clear()

public Jwt.Builder clear()
Returns
TypeDescription
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
TypeDescription
Jwt.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Jwt.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Jwt.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Jwt.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Jwt.Builder
Overrides

clone()

public Jwt.Builder clone()
Returns
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Jwt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Jwt.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Jwt.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Jwt.Builder
Overrides

mergeFrom(Jwt other)

public Jwt.Builder mergeFrom(Jwt other)
Parameter
NameDescription
otherJwt
Returns
TypeDescription
Jwt.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Jwt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The compactJwt to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for compactJwt to set.

Returns
TypeDescription
Jwt.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Jwt.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Jwt.Builder
Overrides

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

public Jwt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Jwt.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Jwt.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Jwt.Builder
Overrides