Class DeploymentOccurrence (2.3.1)

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
TypeDescription
int

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DEPLOY_TIME_FIELD_NUMBER

public static final int DEPLOY_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

UNDEPLOY_TIME_FIELD_NUMBER

public static final int UNDEPLOY_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

USER_EMAIL_FIELD_NUMBER

public static final int USER_EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeploymentOccurrence getDefaultInstance()
Returns
TypeDescription
DeploymentOccurrence

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeploymentOccurrence.Builder newBuilder()
Returns
TypeDescription
DeploymentOccurrence.Builder

newBuilder(DeploymentOccurrence prototype)

public static DeploymentOccurrence.Builder newBuilder(DeploymentOccurrence prototype)
Parameter
NameDescription
prototypeDeploymentOccurrence
Returns
TypeDescription
DeploymentOccurrence.Builder

parseDelimitedFrom(InputStream input)

public static DeploymentOccurrence parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeploymentOccurrence parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeploymentOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeploymentOccurrence parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeploymentOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeploymentOccurrence parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeploymentOccurrence parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeploymentOccurrence parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeploymentOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeploymentOccurrence> parser()
Returns
TypeDescription
Parser<DeploymentOccurrence>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAddress()

public String getAddress()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
TypeDescription
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
TypeDescription
ByteString

The bytes for address.

getConfig()

public String getConfig()

Configuration used to create this deployment.

string config = 4;

Returns
TypeDescription
String

The config.

getConfigBytes()

public ByteString getConfigBytes()

Configuration used to create this deployment.

string config = 4;

Returns
TypeDescription
ByteString

The bytes for config.

getDefaultInstanceForType()

public DeploymentOccurrence getDefaultInstanceForType()
Returns
TypeDescription
DeploymentOccurrence

getDeployTime()

public Timestamp getDeployTime()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
TypeDescription
Timestamp

The deployTime.

getDeployTimeOrBuilder()

public TimestampOrBuilder getDeployTimeOrBuilder()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<DeploymentOccurrence> getParserForType()
Returns
TypeDescription
Parser<DeploymentOccurrence>
Overrides

getPlatform()

public DeploymentOccurrence.Platform getPlatform()

Platform hosting this deployment.

.grafeas.v1.DeploymentOccurrence.Platform platform = 7;

Returns
TypeDescription
DeploymentOccurrence.Platform

The platform.

getPlatformValue()

public int getPlatformValue()

Platform hosting this deployment.

.grafeas.v1.DeploymentOccurrence.Platform platform = 7;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUndeployTime()

public Timestamp getUndeployTime()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
TypeDescription
Timestamp

The undeployTime.

getUndeployTimeOrBuilder()

public TimestampOrBuilder getUndeployTimeOrBuilder()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUserEmail()

public String getUserEmail()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
TypeDescription
String

The userEmail.

getUserEmailBytes()

public ByteString getUserEmailBytes()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
TypeDescription
ByteString

The bytes for userEmail.

hasDeployTime()

public boolean hasDeployTime()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the undeployTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeploymentOccurrence.Builder newBuilderForType()
Returns
TypeDescription
DeploymentOccurrence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeploymentOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeploymentOccurrence.Builder toBuilder()
Returns
TypeDescription
DeploymentOccurrence.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException