Class DeploymentOccurrence.Builder (2.47.0)

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
Type Description
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
Name Description
values Iterable<String>

The resourceUri to add.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The resourceUri to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the resourceUri to add.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

build()

public DeploymentOccurrence build()
Returns
Type Description
DeploymentOccurrence

buildPartial()

public DeploymentOccurrence buildPartial()
Returns
Type Description
DeploymentOccurrence

clear()

public DeploymentOccurrence.Builder clear()
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

clearAddress()

public DeploymentOccurrence.Builder clearAddress()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

clearConfig()

public DeploymentOccurrence.Builder clearConfig()

Configuration used to create this deployment.

string config = 4;

Returns
Type Description
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
Type Description
DeploymentOccurrence.Builder

clearField(Descriptors.FieldDescriptor field)

public DeploymentOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

clearPlatform()

public DeploymentOccurrence.Builder clearPlatform()

Platform hosting this deployment.

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

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

clearResourceUri()

public DeploymentOccurrence.Builder clearResourceUri()

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
DeploymentOccurrence.Builder

This builder for chaining.

clearUndeployTime()

public DeploymentOccurrence.Builder clearUndeployTime()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
Type Description
DeploymentOccurrence.Builder

clearUserEmail()

public DeploymentOccurrence.Builder clearUserEmail()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

clone()

public DeploymentOccurrence.Builder clone()
Returns
Type Description
DeploymentOccurrence.Builder
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 DeploymentOccurrence getDefaultInstanceForType()
Returns
Type Description
DeploymentOccurrence

getDeployTime()

public Timestamp getDeployTime()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
Type Description
Timestamp

The deployTime.

getDeployTimeBuilder()

public Timestamp.Builder getDeployTimeBuilder()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
Type Description
Builder

getDeployTimeOrBuilder()

public TimestampOrBuilder getDeployTimeOrBuilder()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
Type Description
TimestampOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPlatform()

public DeploymentOccurrence.Platform getPlatform()

Platform hosting this deployment.

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

Returns
Type Description
DeploymentOccurrence.Platform

The platform.

getPlatformValue()

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
Type Description
ProtocolStringList

A list containing the resourceUri.

getUndeployTime()

public Timestamp getUndeployTime()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
Type Description
Timestamp

The undeployTime.

getUndeployTimeBuilder()

public Timestamp.Builder getUndeployTimeBuilder()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeployTime(Timestamp value)

public DeploymentOccurrence.Builder mergeDeployTime(Timestamp value)

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentOccurrence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentOccurrence.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeploymentOccurrence.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

mergeFrom(DeploymentOccurrence other)

public DeploymentOccurrence.Builder mergeFrom(DeploymentOccurrence other)
Parameter
Name Description
other DeploymentOccurrence
Returns
Type Description
DeploymentOccurrence.Builder

mergeUndeployTime(Timestamp value)

public DeploymentOccurrence.Builder mergeUndeployTime(Timestamp value)

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentOccurrence.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

setAddress(String value)

public DeploymentOccurrence.Builder setAddress(String value)

Address of the runtime element hosting this deployment.

string address = 5;

Parameter
Name Description
value String

The address to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public DeploymentOccurrence.Builder setAddressBytes(ByteString value)

Address of the runtime element hosting this deployment.

string address = 5;

Parameter
Name Description
value ByteString

The bytes for address to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setConfig(String value)

public DeploymentOccurrence.Builder setConfig(String value)

Configuration used to create this deployment.

string config = 4;

Parameter
Name Description
value String

The config to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setConfigBytes(ByteString value)

public DeploymentOccurrence.Builder setConfigBytes(ByteString value)

Configuration used to create this deployment.

string config = 4;

Parameter
Name Description
value ByteString

The bytes for config to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setDeployTime(Timestamp value)

public DeploymentOccurrence.Builder setDeployTime(Timestamp value)

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentOccurrence.Builder

setDeployTime(Timestamp.Builder builderForValue)

public DeploymentOccurrence.Builder setDeployTime(Timestamp.Builder builderForValue)

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeploymentOccurrence.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

setPlatform(DeploymentOccurrence.Platform value)

public DeploymentOccurrence.Builder setPlatform(DeploymentOccurrence.Platform value)

Platform hosting this deployment.

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

Parameter
Name Description
value DeploymentOccurrence.Platform

The platform to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setPlatformValue(int value)

public DeploymentOccurrence.Builder setPlatformValue(int value)

Platform hosting this deployment.

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

Parameter
Name Description
value int

The enum numeric value on the wire for platform to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeploymentOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

setResourceUri(int index, String value)

public DeploymentOccurrence.Builder setResourceUri(int index, 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;

Parameters
Name Description
index int

The index to set the value at.

value String

The resourceUri to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setUndeployTime(Timestamp value)

public DeploymentOccurrence.Builder setUndeployTime(Timestamp value)

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentOccurrence.Builder

setUndeployTime(Timestamp.Builder builderForValue)

public DeploymentOccurrence.Builder setUndeployTime(Timestamp.Builder builderForValue)

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeploymentOccurrence.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentOccurrence.Builder
Overrides

setUserEmail(String value)

public DeploymentOccurrence.Builder setUserEmail(String value)

Identity of the user that triggered this deployment.

string user_email = 1;

Parameter
Name Description
value String

The userEmail to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.

setUserEmailBytes(ByteString value)

public DeploymentOccurrence.Builder setUserEmailBytes(ByteString value)

Identity of the user that triggered this deployment.

string user_email = 1;

Parameter
Name Description
value ByteString

The bytes for userEmail to set.

Returns
Type Description
DeploymentOccurrence.Builder

This builder for chaining.