Class Deployment.Builder (2.40.0)

public static final class Deployment.Builder extends GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder

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

Protobuf type grafeas.v1beta1.deployment.Deployment

Implements

DeploymentOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllResourceUri(Iterable<String> values)

public Deployment.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
Deployment.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResourceUri(String value)

public Deployment.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
Deployment.Builder

This builder for chaining.

addResourceUriBytes(ByteString value)

public Deployment.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
Deployment.Builder

This builder for chaining.

build()

public Deployment build()
Returns
TypeDescription
Deployment

buildPartial()

public Deployment buildPartial()
Returns
TypeDescription
Deployment

clear()

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

clearAddress()

public Deployment.Builder clearAddress()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearConfig()

public Deployment.Builder clearConfig()

Configuration used to create this deployment.

string config = 4;

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearDeployTime()

public Deployment.Builder clearDeployTime()

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Returns
TypeDescription
Deployment.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlatform()

public Deployment.Builder clearPlatform()

Platform hosting this deployment.

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

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearResourceUri()

public Deployment.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
Deployment.Builder

This builder for chaining.

clearUndeployTime()

public Deployment.Builder clearUndeployTime()

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Returns
TypeDescription
Deployment.Builder

clearUserEmail()

public Deployment.Builder clearUserEmail()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clone()

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

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 Deployment.Platform getPlatform()

Platform hosting this deployment.

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

Returns
TypeDescription
Deployment.Platform

The platform.

getPlatformValue()

public int getPlatformValue()

Platform hosting this deployment.

.grafeas.v1beta1.deployment.Deployment.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 Deployment.Builder mergeDeployTime(Timestamp value)

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Deployment other)

public Deployment.Builder mergeFrom(Deployment other)
Parameter
NameDescription
otherDeployment
Returns
TypeDescription
Deployment.Builder

mergeUndeployTime(Timestamp value)

public Deployment.Builder mergeUndeployTime(Timestamp value)

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAddress(String value)

public Deployment.Builder setAddress(String value)

Address of the runtime element hosting this deployment.

string address = 5;

Parameter
NameDescription
valueString

The address to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public Deployment.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
Deployment.Builder

This builder for chaining.

setConfig(String value)

public Deployment.Builder setConfig(String value)

Configuration used to create this deployment.

string config = 4;

Parameter
NameDescription
valueString

The config to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setConfigBytes(ByteString value)

public Deployment.Builder setConfigBytes(ByteString value)

Configuration used to create this deployment.

string config = 4;

Parameter
NameDescription
valueByteString

The bytes for config to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDeployTime(Timestamp value)

public Deployment.Builder setDeployTime(Timestamp value)

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

setDeployTime(Timestamp.Builder builderForValue)

public Deployment.Builder setDeployTime(Timestamp.Builder builderForValue)

Required. Beginning of the lifetime of this deployment.

.google.protobuf.Timestamp deploy_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Deployment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPlatform(Deployment.Platform value)

public Deployment.Builder setPlatform(Deployment.Platform value)

Platform hosting this deployment.

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

Parameter
NameDescription
valueDeployment.Platform

The platform to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setPlatformValue(int value)

public Deployment.Builder setPlatformValue(int value)

Platform hosting this deployment.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

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

public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Deployment.Builder
Overrides

setResourceUri(int index, String value)

public Deployment.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
Deployment.Builder

This builder for chaining.

setUndeployTime(Timestamp value)

public Deployment.Builder setUndeployTime(Timestamp value)

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

setUndeployTime(Timestamp.Builder builderForValue)

public Deployment.Builder setUndeployTime(Timestamp.Builder builderForValue)

End of the lifetime of this deployment.

.google.protobuf.Timestamp undeploy_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Deployment.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Deployment.Builder
Overrides

setUserEmail(String value)

public Deployment.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
Deployment.Builder

This builder for chaining.

setUserEmailBytes(ByteString value)

public Deployment.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
Deployment.Builder

This builder for chaining.