Send feedback
Class DeploymentOccurrence (2.6.0) Stay organized with collections
Save and categorize content based on your preferences.
Version 2.6.0 keyboard_arrow_down
public
final
class
DeploymentOccurrence
extends
GeneratedMessageV3
implements
DeploymentOccurrenceOrBuilder
The period during which some deployable was active in a runtime.
Protobuf type grafeas.v1.DeploymentOccurrence
Static Fields
ADDRESS_FIELD_NUMBER
public
static
final
int
ADDRESS_FIELD_NUMBER
Field Value
CONFIG_FIELD_NUMBER
public
static
final
int
CONFIG_FIELD_NUMBER
Field Value
DEPLOY_TIME_FIELD_NUMBER
public
static
final
int
DEPLOY_TIME_FIELD_NUMBER
Field Value
public
static
final
int
PLATFORM_FIELD_NUMBER
Field Value
RESOURCE_URI_FIELD_NUMBER
public
static
final
int
RESOURCE_URI_FIELD_NUMBER
Field Value
UNDEPLOY_TIME_FIELD_NUMBER
public
static
final
int
UNDEPLOY_TIME_FIELD_NUMBER
Field Value
USER_EMAIL_FIELD_NUMBER
public
static
final
int
USER_EMAIL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public
static
DeploymentOccurrence
getDefaultInstance
()
Returns
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Returns
newBuilder()
public
static
DeploymentOccurrence
.
Builder
newBuilder
()
Returns
newBuilder(DeploymentOccurrence prototype)
public
static
DeploymentOccurrence
.
Builder
newBuilder
(
DeploymentOccurrence
prototype
)
Parameter
Returns
public
static
DeploymentOccurrence
parseDelimitedFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
DeploymentOccurrence
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public
static
DeploymentOccurrence
parseFrom
(
byte
[]
data
)
Parameter
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
DeploymentOccurrence
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public
static
DeploymentOccurrence
parseFrom
(
ByteString
data
)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
DeploymentOccurrence
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
DeploymentOccurrence
parseFrom
(
CodedInputStream
input
)
Parameter
Returns
Exceptions
public
static
DeploymentOccurrence
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
DeploymentOccurrence
parseFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
DeploymentOccurrence
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public
static
DeploymentOccurrence
parseFrom
(
ByteBuffer
data
)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
DeploymentOccurrence
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parser()
public
static
Parser<DeploymentOccurrence>
parser
()
Returns
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
Parameter
Returns
Overrides
getAddress()
public
String
getAddress
()
Address of the runtime element hosting this deployment.
string address = 5;
Returns
getAddressBytes()
public
ByteString
getAddressBytes
()
Address of the runtime element hosting this deployment.
string address = 5;
Returns
getConfig()
public
String
getConfig
()
Configuration used to create this deployment.
string config = 4;
Returns
getConfigBytes()
public
ByteString
getConfigBytes
()
Configuration used to create this deployment.
string config = 4;
Returns
getDefaultInstanceForType()
public
DeploymentOccurrence
getDefaultInstanceForType
()
Returns
getDeployTime()
public
Timestamp
getDeployTime
()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns
getDeployTimeOrBuilder()
public
TimestampOrBuilder
getDeployTimeOrBuilder
()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns
getParserForType()
public
Parser<DeploymentOccurrence>
getParserForType
()
Returns
Overrides
public
DeploymentOccurrence
.
Platform
getPlatform
()
Platform hosting this deployment.
.grafeas.v1.DeploymentOccurrence.Platform platform = 7;
Returns
public
int
getPlatformValue
()
Platform hosting this deployment.
.grafeas.v1.DeploymentOccurrence.Platform platform = 7;
Returns Type
Description
int
The enum numeric value on the wire for platform.
getResourceUri(int index)
public
String
getResourceUri
(
int
index
)
Output only. Resource URI for the artifact being deployed taken from
the deployable field with the same name.
repeated string resource_uri = 6;
Parameter Name
Description
index
int
The index of the element to return.
Returns Type
Description
String
The resourceUri at the given index.
getResourceUriBytes(int index)
public
ByteString
getResourceUriBytes
(
int
index
)
Output only. Resource URI for the artifact being deployed taken from
the deployable field with the same name.
repeated string resource_uri = 6;
Parameter Name
Description
index
int
The index of the value to return.
Returns Type
Description
ByteString
The bytes of the resourceUri at the given index.
getResourceUriCount()
public
int
getResourceUriCount
()
Output only. Resource URI for the artifact being deployed taken from
the deployable field with the same name.
repeated string resource_uri = 6;
Returns Type
Description
int
The count of resourceUri.
getResourceUriList()
public
ProtocolStringList
getResourceUriList
()
Output only. Resource URI for the artifact being deployed taken from
the deployable field with the same name.
repeated string resource_uri = 6;
Returns
getSerializedSize()
public
int
getSerializedSize
()
Returns
Overrides
getUndeployTime()
public
Timestamp
getUndeployTime
()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns
getUndeployTimeOrBuilder()
public
TimestampOrBuilder
getUndeployTimeOrBuilder
()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns
getUnknownFields()
public
final
UnknownFieldSet
getUnknownFields
()
Returns
Overrides
getUserEmail()
public
String
getUserEmail
()
Identity of the user that triggered this deployment.
string user_email = 1;
Returns
getUserEmailBytes()
public
ByteString
getUserEmailBytes
()
Identity of the user that triggered this deployment.
string user_email = 1;
Returns
hasDeployTime()
public
boolean
hasDeployTime
()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns Type
Description
boolean
Whether the deployTime field is set.
hasUndeployTime()
public
boolean
hasUndeployTime
()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns Type
Description
boolean
Whether the undeployTime field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
Returns
Overrides
isInitialized()
public
final
boolean
isInitialized
()
Returns
Overrides
newBuilderForType()
public
DeploymentOccurrence
.
Builder
newBuilderForType
()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
DeploymentOccurrence
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
Parameter
Returns
Overrides
toBuilder()
public
DeploymentOccurrence
.
Builder
toBuilder
()
Returns
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]