Class DeploymentEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.DeploymentEvent
- All Implemented Interfaces:
DeploymentEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DeploymentEvent
extends com.google.protobuf.GeneratedMessage
implements DeploymentEventOrBuilder
The DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.Protobuf type
google.cloud.developerconnect.v1.DeploymentEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.static enumThe state of the DeploymentEvent.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArtifactDeployments(int index) Output only.intOutput only.Output only.getArtifactDeploymentsOrBuilder(int index) Output only.List<? extends ArtifactDeploymentOrBuilder>Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static DeploymentEventcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<DeploymentEvent>Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.intgetState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DeploymentEvent.Builderstatic DeploymentEvent.BuildernewBuilder(DeploymentEvent prototype) protected DeploymentEvent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DeploymentEventparseDelimitedFrom(InputStream input) static DeploymentEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentEventparseFrom(byte[] data) static DeploymentEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentEventparseFrom(com.google.protobuf.ByteString data) static DeploymentEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentEventparseFrom(com.google.protobuf.CodedInputStream input) static DeploymentEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentEventparseFrom(InputStream input) static DeploymentEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentEventparseFrom(ByteBuffer data) static DeploymentEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DeploymentEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
RUNTIME_CONFIG_FIELD_NUMBER
public static final int RUNTIME_CONFIG_FIELD_NUMBER- See Also:
-
RUNTIME_DEPLOYMENT_URI_FIELD_NUMBER
public static final int RUNTIME_DEPLOYMENT_URI_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
ARTIFACT_DEPLOYMENTS_FIELD_NUMBER
public static final int ARTIFACT_DEPLOYMENTS_FIELD_NUMBER- See Also:
-
DEPLOY_TIME_FIELD_NUMBER
public static final int DEPLOY_TIME_FIELD_NUMBER- See Also:
-
UNDEPLOY_TIME_FIELD_NUMBER
public static final int UNDEPLOY_TIME_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceDeploymentEventOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceDeploymentEventOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()Output only. The create time of the DeploymentEvent.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDeploymentEventOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The create time of the DeploymentEvent.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDeploymentEventOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create time of the DeploymentEvent.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDeploymentEventOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update time of the DeploymentEvent.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDeploymentEventOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update time of the DeploymentEvent.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDeploymentEventOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update time of the DeploymentEvent.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDeploymentEventOrBuilder
-
hasRuntimeConfig
public boolean hasRuntimeConfig()Output only. The runtime configurations where the DeploymentEvent happened.
.google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRuntimeConfigin interfaceDeploymentEventOrBuilder- Returns:
- Whether the runtimeConfig field is set.
-
getRuntimeConfig
Output only. The runtime configurations where the DeploymentEvent happened.
.google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRuntimeConfigin interfaceDeploymentEventOrBuilder- Returns:
- The runtimeConfig.
-
getRuntimeConfigOrBuilder
Output only. The runtime configurations where the DeploymentEvent happened.
.google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRuntimeConfigOrBuilderin interfaceDeploymentEventOrBuilder
-
getRuntimeDeploymentUri
Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name.string runtime_deployment_uri = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRuntimeDeploymentUriin interfaceDeploymentEventOrBuilder- Returns:
- The runtimeDeploymentUri.
-
getRuntimeDeploymentUriBytes
public com.google.protobuf.ByteString getRuntimeDeploymentUriBytes()Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name.string runtime_deployment_uri = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRuntimeDeploymentUriBytesin interfaceDeploymentEventOrBuilder- Returns:
- The bytes for runtimeDeploymentUri.
-
getStateValue
public int getStateValue()Output only. The state of the DeploymentEvent.
.google.cloud.developerconnect.v1.DeploymentEvent.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceDeploymentEventOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The state of the DeploymentEvent.
.google.cloud.developerconnect.v1.DeploymentEvent.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDeploymentEventOrBuilder- Returns:
- The state.
-
getArtifactDeploymentsList
Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactDeploymentsListin interfaceDeploymentEventOrBuilder
-
getArtifactDeploymentsOrBuilderList
Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactDeploymentsOrBuilderListin interfaceDeploymentEventOrBuilder
-
getArtifactDeploymentsCount
public int getArtifactDeploymentsCount()Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactDeploymentsCountin interfaceDeploymentEventOrBuilder
-
getArtifactDeployments
Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactDeploymentsin interfaceDeploymentEventOrBuilder
-
getArtifactDeploymentsOrBuilder
Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactDeploymentsOrBuilderin interfaceDeploymentEventOrBuilder
-
hasDeployTime
public boolean hasDeployTime()Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times.
.google.protobuf.Timestamp deploy_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeployTimein interfaceDeploymentEventOrBuilder- Returns:
- Whether the deployTime field is set.
-
getDeployTime
public com.google.protobuf.Timestamp getDeployTime()Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times.
.google.protobuf.Timestamp deploy_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployTimein interfaceDeploymentEventOrBuilder- Returns:
- The deployTime.
-
getDeployTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder()Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times.
.google.protobuf.Timestamp deploy_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployTimeOrBuilderin interfaceDeploymentEventOrBuilder
-
hasUndeployTime
public boolean hasUndeployTime()Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty.
.google.protobuf.Timestamp undeploy_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUndeployTimein interfaceDeploymentEventOrBuilder- Returns:
- Whether the undeployTime field is set.
-
getUndeployTime
public com.google.protobuf.Timestamp getUndeployTime()Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty.
.google.protobuf.Timestamp undeploy_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUndeployTimein interfaceDeploymentEventOrBuilder- Returns:
- The undeployTime.
-
getUndeployTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUndeployTimeOrBuilder()Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty.
.google.protobuf.Timestamp undeploy_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUndeployTimeOrBuilderin interfaceDeploymentEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DeploymentEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeploymentEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeploymentEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeploymentEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeploymentEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeploymentEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DeploymentEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DeploymentEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DeploymentEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DeploymentEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeploymentEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-