Package biopb.tensor
Class TicketStub.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
biopb.tensor.TicketStub.Builder
- All Implemented Interfaces:
TicketStubOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TicketStub
public static final class TicketStub.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
implements TicketStubOrBuilder
What every chunk of one plan shares, split by how long it stays true. The two halves are separate fields so they can be told apart without being understood: a cache keys on `identity` and ignores `grant`, whose expiry and seal change every time the plan is made.Protobuf type
biopb.tensor.TicketStub-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The authority to read this plan's chunks, in place of a bearer token.Which tensor, version, scale, method and grid.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGrant()The authority to read this plan's chunks, in place of a bearer token.The authority to read this plan's chunks, in place of a bearer token.The authority to read this plan's chunks, in place of a bearer token.com.google.protobuf.ByteStringWhich tensor, version, scale, method and grid.booleanhasGrant()The authority to read this plan's chunks, in place of a bearer token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(TicketStub other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGrant(ChunkGrant value) The authority to read this plan's chunks, in place of a bearer token.final TicketStub.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setGrant(ChunkGrant value) The authority to read this plan's chunks, in place of a bearer token.setGrant(ChunkGrant.Builder builderForValue) The authority to read this plan's chunks, in place of a bearer token.setIdentity(com.google.protobuf.ByteString value) Which tensor, version, scale, method and grid.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final TicketStub.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
setField
public TicketStub.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
setRepeatedField
public TicketStub.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
addRepeatedField
public TicketStub.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TicketStub.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
mergeFrom
public TicketStub.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TicketStub.Builder>- Throws:
IOException
-
getIdentity
public com.google.protobuf.ByteString getIdentity()Which tensor, version, scale, method and grid. Opaque, server-minted, and stable: the same tensor, read the same way, mints the same bytes. A client echoes it back and a proxy wraps it, and neither reads it.
bytes identity = 1;- Specified by:
getIdentityin interfaceTicketStubOrBuilder- Returns:
- The identity.
-
setIdentity
Which tensor, version, scale, method and grid. Opaque, server-minted, and stable: the same tensor, read the same way, mints the same bytes. A client echoes it back and a proxy wraps it, and neither reads it.
bytes identity = 1;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
Which tensor, version, scale, method and grid. Opaque, server-minted, and stable: the same tensor, read the same way, mints the same bytes. A client echoes it back and a proxy wraps it, and neither reads it.
bytes identity = 1;- Returns:
- This builder for chaining.
-
hasGrant
public boolean hasGrant()The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2;- Specified by:
hasGrantin interfaceTicketStubOrBuilder- Returns:
- Whether the grant field is set.
-
getGrant
The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2;- Specified by:
getGrantin interfaceTicketStubOrBuilder- Returns:
- The grant.
-
setGrant
The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2; -
setGrant
The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2; -
mergeGrant
The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2; -
clearGrant
The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2; -
getGrantBuilder
The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2; -
getGrantOrBuilder
The authority to read this plan's chunks, in place of a bearer token.
.biopb.tensor.ChunkGrant grant = 2;- Specified by:
getGrantOrBuilderin interfaceTicketStubOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-
mergeUnknownFields
public final TicketStub.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TicketStub.Builder>
-