Class ArtifactConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.ArtifactConfig
All Implemented Interfaces:
ArtifactConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ArtifactConfig extends com.google.protobuf.GeneratedMessage implements ArtifactConfigOrBuilder
 The artifact config of the artifact that is deployed.
 
Protobuf type google.cloud.developerconnect.v1.ArtifactConfig
See Also:
  • Field Details

    • GOOGLE_ARTIFACT_REGISTRY_FIELD_NUMBER

      public static final int GOOGLE_ARTIFACT_REGISTRY_FIELD_NUMBER
      See Also:
    • GOOGLE_ARTIFACT_ANALYSIS_FIELD_NUMBER

      public static final int GOOGLE_ARTIFACT_ANALYSIS_FIELD_NUMBER
      See Also:
    • URI_FIELD_NUMBER

      public static final int URI_FIELD_NUMBER
      See Also:
  • 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
    • getArtifactStorageCase

      public ArtifactConfig.ArtifactStorageCase getArtifactStorageCase()
      Specified by:
      getArtifactStorageCase in interface ArtifactConfigOrBuilder
    • getArtifactMetadataStorageCase

      public ArtifactConfig.ArtifactMetadataStorageCase getArtifactMetadataStorageCase()
      Specified by:
      getArtifactMetadataStorageCase in interface ArtifactConfigOrBuilder
    • hasGoogleArtifactRegistry

      public boolean hasGoogleArtifactRegistry()
       Optional. Set if the artifact is stored in Artifact registry.
       
      .google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGoogleArtifactRegistry in interface ArtifactConfigOrBuilder
      Returns:
      Whether the googleArtifactRegistry field is set.
    • getGoogleArtifactRegistry

      public GoogleArtifactRegistry getGoogleArtifactRegistry()
       Optional. Set if the artifact is stored in Artifact registry.
       
      .google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleArtifactRegistry in interface ArtifactConfigOrBuilder
      Returns:
      The googleArtifactRegistry.
    • getGoogleArtifactRegistryOrBuilder

      public GoogleArtifactRegistryOrBuilder getGoogleArtifactRegistryOrBuilder()
       Optional. Set if the artifact is stored in Artifact registry.
       
      .google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleArtifactRegistryOrBuilder in interface ArtifactConfigOrBuilder
    • hasGoogleArtifactAnalysis

      public boolean hasGoogleArtifactAnalysis()
       Optional. Set if the artifact metadata is stored in Artifact analysis.
       
      .google.cloud.developerconnect.v1.GoogleArtifactAnalysis google_artifact_analysis = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGoogleArtifactAnalysis in interface ArtifactConfigOrBuilder
      Returns:
      Whether the googleArtifactAnalysis field is set.
    • getGoogleArtifactAnalysis

      public GoogleArtifactAnalysis getGoogleArtifactAnalysis()
       Optional. Set if the artifact metadata is stored in Artifact analysis.
       
      .google.cloud.developerconnect.v1.GoogleArtifactAnalysis google_artifact_analysis = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleArtifactAnalysis in interface ArtifactConfigOrBuilder
      Returns:
      The googleArtifactAnalysis.
    • getGoogleArtifactAnalysisOrBuilder

      public GoogleArtifactAnalysisOrBuilder getGoogleArtifactAnalysisOrBuilder()
       Optional. Set if the artifact metadata is stored in Artifact analysis.
       
      .google.cloud.developerconnect.v1.GoogleArtifactAnalysis google_artifact_analysis = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleArtifactAnalysisOrBuilder in interface ArtifactConfigOrBuilder
    • getUri

      public String getUri()
       Required. Immutable. The URI of the artifact that is deployed.
       e.g. `us-docker.pkg.dev/my-project/my-repo/image`.
       The URI does not include the tag / digest because it captures a lineage of
       artifacts.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getUri in interface ArtifactConfigOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. Immutable. The URI of the artifact that is deployed.
       e.g. `us-docker.pkg.dev/my-project/my-repo/image`.
       The URI does not include the tag / digest because it captures a lineage of
       artifacts.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getUriBytes in interface ArtifactConfigOrBuilder
      Returns:
      The bytes for uri.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ArtifactConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ArtifactConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ArtifactConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ArtifactConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ArtifactConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ArtifactConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ArtifactConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ArtifactConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ArtifactConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ArtifactConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ArtifactConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ArtifactConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ArtifactConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ArtifactConfig.Builder newBuilder()
    • newBuilder

      public static ArtifactConfig.Builder newBuilder(ArtifactConfig prototype)
    • toBuilder

      public ArtifactConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ArtifactConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ArtifactConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ArtifactConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ArtifactConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ArtifactConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder