Package io.grafeas.v1
Class AttestationNote.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder>
-
- io.grafeas.v1.AttestationNote.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AttestationNoteOrBuilder,Cloneable
- Enclosing class:
- AttestationNote
public static final class AttestationNote.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder> implements AttestationNoteOrBuilder
Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `Authority` for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.
Protobuf typegrafeas.v1.AttestationNote
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttestationNote.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AttestationNotebuild()AttestationNotebuildPartial()AttestationNote.Builderclear()AttestationNote.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AttestationNote.BuilderclearHint()Hint hints at the purpose of the attestation authority.AttestationNote.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AttestationNote.Builderclone()AttestationNotegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AttestationNote.HintgetHint()Hint hints at the purpose of the attestation authority.AttestationNote.Hint.BuildergetHintBuilder()Hint hints at the purpose of the attestation authority.AttestationNote.HintOrBuildergetHintOrBuilder()Hint hints at the purpose of the attestation authority.booleanhasHint()Hint hints at the purpose of the attestation authority.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AttestationNote.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AttestationNote.BuildermergeFrom(com.google.protobuf.Message other)AttestationNote.BuildermergeFrom(AttestationNote other)AttestationNote.BuildermergeHint(AttestationNote.Hint value)Hint hints at the purpose of the attestation authority.AttestationNote.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AttestationNote.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AttestationNote.BuildersetHint(AttestationNote.Hint value)Hint hints at the purpose of the attestation authority.AttestationNote.BuildersetHint(AttestationNote.Hint.Builder builderForValue)Hint hints at the purpose of the attestation authority.AttestationNote.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AttestationNote.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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<AttestationNote.Builder>
-
clear
public AttestationNote.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<AttestationNote.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<AttestationNote.Builder>
-
getDefaultInstanceForType
public AttestationNote getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttestationNote build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttestationNote buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttestationNote.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<AttestationNote.Builder>
-
setField
public AttestationNote.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<AttestationNote.Builder>
-
clearField
public AttestationNote.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder>
-
clearOneof
public AttestationNote.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder>
-
setRepeatedField
public AttestationNote.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<AttestationNote.Builder>
-
addRepeatedField
public AttestationNote.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<AttestationNote.Builder>
-
mergeFrom
public AttestationNote.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttestationNote.Builder>
-
mergeFrom
public AttestationNote.Builder mergeFrom(AttestationNote other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder>
-
mergeFrom
public AttestationNote.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<AttestationNote.Builder>- Throws:
IOException
-
hasHint
public boolean hasHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;- Specified by:
hasHintin interfaceAttestationNoteOrBuilder- Returns:
- Whether the hint field is set.
-
getHint
public AttestationNote.Hint getHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;- Specified by:
getHintin interfaceAttestationNoteOrBuilder- Returns:
- The hint.
-
setHint
public AttestationNote.Builder setHint(AttestationNote.Hint value)
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
-
setHint
public AttestationNote.Builder setHint(AttestationNote.Hint.Builder builderForValue)
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
-
mergeHint
public AttestationNote.Builder mergeHint(AttestationNote.Hint value)
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
-
clearHint
public AttestationNote.Builder clearHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
-
getHintBuilder
public AttestationNote.Hint.Builder getHintBuilder()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
-
getHintOrBuilder
public AttestationNote.HintOrBuilder getHintOrBuilder()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;- Specified by:
getHintOrBuilderin interfaceAttestationNoteOrBuilder
-
setUnknownFields
public final AttestationNote.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder>
-
mergeUnknownFields
public final AttestationNote.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder>
-
-