Class DeploymentOccurrence.Builder (2.4.3)

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)

public DeploymentOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides

clearPlatform()

public DeploymentOccurrence.Builder clearPlatform()

Platform hosting this deployment.

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

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

clearUserEmail()

public DeploymentOccurrence.Builder clearUserEmail()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
TypeDescription
DeploymentOccurrence.Builder

This builder for chaining.

clone()

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

getDeployTimeBuilder()

public Timestamp.Builder getDeployTimeBuilder()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
TypeDescription
Builder

getDeployTimeOrBuilder()

public TimestampOrBuilder getDeployTimeOrBuilder()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getUndeployTime()

public Timestamp getUndeployTime()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
TypeDescription
Timestamp

The undeployTime.

getUndeployTimeBuilder()

public Timestamp.Builder getUndeployTimeBuilder()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
TypeDescription
Builder

getUndeployTimeOrBuilder()

public TimestampOrBuilder getUndeployTimeOrBuilder()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
TypeDescription
TimestampOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DeploymentOccurrence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeploymentOccurrence.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides

mergeFrom(DeploymentOccurrence other)

public DeploymentOccurrence.Builder mergeFrom(DeploymentOccurrence other)
Parameter
NameDescription
otherDeploymentOccurrence
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DeploymentOccurrence.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeploymentOccurrence.Builder
Overrides

setAddress(String value)

public DeploymentOccurrence.Builder setAddress(String value)

Address of the runtime element hosting this deployment.

string address = 5;

Parameter
NameDescription
valueString

The address to set.

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

The bytes for address to set.

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

The config to set.

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

The bytes for config to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DeploymentOccurrence.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDeploymentOccurrence.Platform

The platform to set.

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

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

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

The index to set the value at.

valueString

The resourceUri to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DeploymentOccurrence.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The userEmail to set.

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

The bytes for userEmail to set.

Returns
TypeDescription
DeploymentOccurrence.Builder

This builder for chaining.