Class DeployJobRunMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.DeployJobRunMetadata
All Implemented Interfaces:
DeployJobRunMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeployJobRunMetadata extends com.google.protobuf.GeneratedMessage implements DeployJobRunMetadataOrBuilder
 DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
 the user.
 
Protobuf type google.cloud.deploy.v1.DeployJobRunMetadata
See Also:
  • Field Details

    • CLOUD_RUN_FIELD_NUMBER

      public static final int CLOUD_RUN_FIELD_NUMBER
      See Also:
    • CUSTOM_TARGET_FIELD_NUMBER

      public static final int CUSTOM_TARGET_FIELD_NUMBER
      See Also:
    • CUSTOM_FIELD_NUMBER

      public static final int CUSTOM_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
    • hasCloudRun

      public boolean hasCloudRun()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCloudRun in interface DeployJobRunMetadataOrBuilder
      Returns:
      Whether the cloudRun field is set.
    • getCloudRun

      public CloudRunMetadata getCloudRun()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCloudRun in interface DeployJobRunMetadataOrBuilder
      Returns:
      The cloudRun.
    • getCloudRunOrBuilder

      public CloudRunMetadataOrBuilder getCloudRunOrBuilder()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCloudRunOrBuilder in interface DeployJobRunMetadataOrBuilder
    • hasCustomTarget

      public boolean hasCustomTarget()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomTarget in interface DeployJobRunMetadataOrBuilder
      Returns:
      Whether the customTarget field is set.
    • getCustomTarget

      public CustomTargetDeployMetadata getCustomTarget()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomTarget in interface DeployJobRunMetadataOrBuilder
      Returns:
      The customTarget.
    • getCustomTargetOrBuilder

      public CustomTargetDeployMetadataOrBuilder getCustomTargetOrBuilder()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomTargetOrBuilder in interface DeployJobRunMetadataOrBuilder
    • hasCustom

      public boolean hasCustom()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustom in interface DeployJobRunMetadataOrBuilder
      Returns:
      Whether the custom field is set.
    • getCustom

      public CustomMetadata getCustom()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustom in interface DeployJobRunMetadataOrBuilder
      Returns:
      The custom.
    • getCustomOrBuilder

      public CustomMetadataOrBuilder getCustomOrBuilder()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomOrBuilder in interface DeployJobRunMetadataOrBuilder
    • 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 DeployJobRunMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DeployJobRunMetadata.Builder newBuilder()
    • newBuilder

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

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

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

      public static DeployJobRunMetadata getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DeployJobRunMetadata> 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 DeployJobRunMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder