Class Build.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
io.grafeas.v1beta1.build.Build.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BuildOrBuilder, Cloneable
Enclosing class:
Build

public static final class Build.Builder extends com.google.protobuf.GeneratedMessage.Builder<Build.Builder> implements BuildOrBuilder
 Note holding the version of the provider's builder and the signature of the
 provenance message in the build details occurrence.
 
Protobuf type grafeas.v1beta1.build.Build
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Required.
    Signature of the build in occurrences pointing to this build note containing build details.
    Required.
    com.google.protobuf.ByteString
    Required.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Signature of the build in occurrences pointing to this build note containing build details.
    Signature of the build in occurrences pointing to this build note containing build details.
    Signature of the build in occurrences pointing to this build note containing build details.
    boolean
    Signature of the build in occurrences pointing to this build note containing build details.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    Signature of the build in occurrences pointing to this build note containing build details.
    Required.
    setBuilderVersionBytes(com.google.protobuf.ByteString value)
    Required.
    Signature of the build in occurrences pointing to this build note containing build details.
    Signature of the build in occurrences pointing to this build note containing build details.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • clear

      public Build.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • getDefaultInstanceForType

      public Build getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Build build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Build buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Build.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Build.Builder>
    • mergeFrom

      public Build.Builder mergeFrom(Build other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • mergeFrom

      public Build.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Build.Builder>
      Throws:
      IOException
    • getBuilderVersion

      public String getBuilderVersion()
       Required. Immutable. Version of the builder which produced this build.
       
      string builder_version = 1;
      Specified by:
      getBuilderVersion in interface BuildOrBuilder
      Returns:
      The builderVersion.
    • getBuilderVersionBytes

      public com.google.protobuf.ByteString getBuilderVersionBytes()
       Required. Immutable. Version of the builder which produced this build.
       
      string builder_version = 1;
      Specified by:
      getBuilderVersionBytes in interface BuildOrBuilder
      Returns:
      The bytes for builderVersion.
    • setBuilderVersion

      public Build.Builder setBuilderVersion(String value)
       Required. Immutable. Version of the builder which produced this build.
       
      string builder_version = 1;
      Parameters:
      value - The builderVersion to set.
      Returns:
      This builder for chaining.
    • clearBuilderVersion

      public Build.Builder clearBuilderVersion()
       Required. Immutable. Version of the builder which produced this build.
       
      string builder_version = 1;
      Returns:
      This builder for chaining.
    • setBuilderVersionBytes

      public Build.Builder setBuilderVersionBytes(com.google.protobuf.ByteString value)
       Required. Immutable. Version of the builder which produced this build.
       
      string builder_version = 1;
      Parameters:
      value - The bytes for builderVersion to set.
      Returns:
      This builder for chaining.
    • hasSignature

      public boolean hasSignature()
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
      Specified by:
      hasSignature in interface BuildOrBuilder
      Returns:
      Whether the signature field is set.
    • getSignature

      public BuildSignature getSignature()
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
      Specified by:
      getSignature in interface BuildOrBuilder
      Returns:
      The signature.
    • setSignature

      public Build.Builder setSignature(BuildSignature value)
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
    • setSignature

      public Build.Builder setSignature(BuildSignature.Builder builderForValue)
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
    • mergeSignature

      public Build.Builder mergeSignature(BuildSignature value)
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
    • clearSignature

      public Build.Builder clearSignature()
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
    • getSignatureBuilder

      public BuildSignature.Builder getSignatureBuilder()
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
    • getSignatureOrBuilder

      public BuildSignatureOrBuilder getSignatureOrBuilder()
       Signature of the build in occurrences pointing to this build note
       containing build details.
       
      .grafeas.v1beta1.build.BuildSignature signature = 2;
      Specified by:
      getSignatureOrBuilder in interface BuildOrBuilder