Class KfpArtifact.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<KfpArtifact.Builder>
com.google.devtools.artifactregistry.v1.KfpArtifact.Builder
All Implemented Interfaces:
KfpArtifactOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
KfpArtifact

public static final class KfpArtifact.Builder extends com.google.protobuf.GeneratedMessage.Builder<KfpArtifact.Builder> implements KfpArtifactOrBuilder
 A detailed representation of a KFP artifact.
 
Protobuf type google.devtools.artifactregistry.v1.KfpArtifact
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Output only.
    The version associated with the KFP artifact.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Output only.
    com.google.protobuf.ByteString
    Output only.
    The version associated with the KFP artifact.
    com.google.protobuf.ByteString
    The version associated with the KFP artifact.
    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)
     
    setName(String value)
    Output only.
    setNameBytes(com.google.protobuf.ByteString value)
    Output only.
    The version associated with the KFP artifact.
    setVersionBytes(com.google.protobuf.ByteString value)
    The version associated with the KFP artifact.

    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<KfpArtifact.Builder>
    • clear

      public KfpArtifact.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<KfpArtifact.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<KfpArtifact.Builder>
    • getDefaultInstanceForType

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

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

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

      public KfpArtifact.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<KfpArtifact.Builder>
    • mergeFrom

      public KfpArtifact.Builder mergeFrom(KfpArtifact other)
    • isInitialized

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

      public KfpArtifact.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<KfpArtifact.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Resource name of the KFP artifact. Since users don't directly
       interact with this resource, the name will be derived from the associated
       version. For example, when version = ".../versions/sha256:abcdef...", the
       name will be ".../kfpArtifacts/sha256:abcdef...".
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface KfpArtifactOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Resource name of the KFP artifact. Since users don't directly
       interact with this resource, the name will be derived from the associated
       version. For example, when version = ".../versions/sha256:abcdef...", the
       name will be ".../kfpArtifacts/sha256:abcdef...".
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface KfpArtifactOrBuilder
      Returns:
      The bytes for name.
    • setName

      public KfpArtifact.Builder setName(String value)
       Output only. Resource name of the KFP artifact. Since users don't directly
       interact with this resource, the name will be derived from the associated
       version. For example, when version = ".../versions/sha256:abcdef...", the
       name will be ".../kfpArtifacts/sha256:abcdef...".
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public KfpArtifact.Builder clearName()
       Output only. Resource name of the KFP artifact. Since users don't directly
       interact with this resource, the name will be derived from the associated
       version. For example, when version = ".../versions/sha256:abcdef...", the
       name will be ".../kfpArtifacts/sha256:abcdef...".
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public KfpArtifact.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Resource name of the KFP artifact. Since users don't directly
       interact with this resource, the name will be derived from the associated
       version. For example, when version = ".../versions/sha256:abcdef...", the
       name will be ".../kfpArtifacts/sha256:abcdef...".
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       The version associated with the KFP artifact. Must follow the Semantic
       Versioning standard.
       
      string version = 2;
      Specified by:
      getVersion in interface KfpArtifactOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The version associated with the KFP artifact. Must follow the Semantic
       Versioning standard.
       
      string version = 2;
      Specified by:
      getVersionBytes in interface KfpArtifactOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public KfpArtifact.Builder setVersion(String value)
       The version associated with the KFP artifact. Must follow the Semantic
       Versioning standard.
       
      string version = 2;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public KfpArtifact.Builder clearVersion()
       The version associated with the KFP artifact. Must follow the Semantic
       Versioning standard.
       
      string version = 2;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public KfpArtifact.Builder setVersionBytes(com.google.protobuf.ByteString value)
       The version associated with the KFP artifact. Must follow the Semantic
       Versioning standard.
       
      string version = 2;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.