Class DeploymentOccurrence.Builder (2.14.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class DeploymentOccurrence.Builder extends GeneratedMessageV3.Builder<DeploymentOccurrence.Builder> implements DeploymentOccurrenceOrBuilder

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

Protobuf type grafeas.v1.DeploymentOccurrence

Static Methods

getDescriptor()

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

Methods

addAllResourceUri(Iterable<String> values)

public DeploymentOccurrence.Builder addAllResourceUri(Iterable<String> values)

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
valuesIterable<String>

The resourceUri to add.

Returns
TypeDescription
DeploymentOccurrence.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides

addResourceUri(String value)

public DeploymentOccurrence.Builder addResourceUri(String value)

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
valueString

The resourceUri to add.

Returns
TypeDescription
DeploymentOccurrence.Builder

This builder for chaining.

addResourceUriBytes(ByteString value)

public DeploymentOccurrence.Builder addResourceUriBytes(ByteString value)

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
valueByteString

The bytes of the resourceUri to add.

Returns
TypeDescription
DeploymentOccurrence.Builder

This builder for chaining.

build()

public DeploymentOccurrence build()
Returns
TypeDescription
DeploymentOccurrence

buildPartial()

public DeploymentOccurrence buildPartial()
Returns
TypeDescription
DeploymentOccurrence

clear()

public DeploymentOccurrence.Builder clear()
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides

clearAddress()

public DeploymentOccurrence.Builder clearAddress()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
TypeDescription
DeploymentOccurrence.Builder

This builder for chaining.

clearConfig()

public DeploymentOccurrence.Builder clearConfig()

Configuration used to create this deployment.

string config = 4;

Returns
TypeDescription
DeploymentOccurrence.Builder

This builder for chaining.

clearDeployTime()

public DeploymentOccurrence.Builder clearDeployTime()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
TypeDescription
DeploymentOccurrence.Builder

clearField(Descriptors.FieldDescriptor field)