Class Deployment (2.54.0)

public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder

The period during which some deployable was active in a runtime.

Protobuf type grafeas.v1beta1.deployment.Deployment

Implements

DeploymentOrBuilder

Static Fields

ADDRESS_FIELD_NUMBER

public static final int ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DEPLOY_TIME_FIELD_NUMBER

public static final int DEPLOY_TIME_FIELD_NUMBER
Field Value
Type Description
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
Type Description
int

UNDEPLOY_TIME_FIELD_NUMBER

public static final int UNDEPLOY_TIME_FIELD_NUMBER
Field Value
Type Description
int

USER_EMAIL_FIELD_NUMBER

public static final int USER_EMAIL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Deployment getDefaultInstance()
Returns
Type Description
Deployment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Deployment.Builder newBuilder()
Returns
Type Description
Deployment.Builder

newBuilder(Deployment prototype)

public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
Name Description
prototype Deployment
Returns
Type Description
Deployment.Builder

parseDelimitedFrom(InputStream input)

public static Deployment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Deployment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Deployment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Deployment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Deployment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Deployment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Deployment> parser()
Returns
Type Description
Parser<Deployment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAddress()

public String getAddress()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
Type Description
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
Type Description
ByteString

The bytes for address.

getConfig()

public String getConfig()

Configuration used to create this deployment.

string config = 4;

Returns
Type Description
String

The config.

getConfigBytes()

public ByteString getConfigBytes()

Configuration used to create this deployment.

string config = 4;

Returns
Type Description
ByteString

The bytes for config.

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
Type Description
Deployment

getDeployTime()

public Timestamp getDeployTime()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
Type Description
Timestamp

The deployTime.

getDeployTimeOrBuilder()

public TimestampOrBuilder getDeployTimeOrBuilder()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<Deployment> getParserForType()
Returns
Type Description
Parser<Deployment>
Overrides

getPlatform()

public Deployment.Platform getPlatform()

Platform hosting this deployment.

.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;

Returns
Type Description
Deployment.Platform

The platform.

getPlatformValue()

public int getPlatformValue()

Platform hosting this deployment.

.grafeas.v1beta1.deployment.Deployment.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
Type Description
ProtocolStringList

A list containing the resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUndeployTime()

public Timestamp getUndeployTime()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
Type Description
Timestamp

The undeployTime.

getUndeployTimeOrBuilder()

public TimestampOrBuilder getUndeployTimeOrBuilder()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
Type Description
TimestampOrBuilder

getUserEmail()

public String getUserEmail()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
Type Description
String

The userEmail.

getUserEmailBytes()

public ByteString getUserEmailBytes()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
Type Description
ByteString

The bytes for userEmail.

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Deployment.Builder newBuilderForType()
Returns
Type Description
Deployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Deployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Deployment.Builder toBuilder()
Returns
Type Description
Deployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException