Class Deployment.Builder (2.46.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
Type Description
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
Name Description
values Iterable<String>

The resourceUri to add.

Returns
Type Description
Deployment.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The resourceUri to add.

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

The bytes of the resourceUri to add.

Returns
Type Description
Deployment.Builder

This builder for chaining.

build()

public Deployment build()
Returns
Type Description
Deployment

buildPartial()

public Deployment buildPartial()
Returns
Type Description
Deployment

clear()

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

clearAddress()

public Deployment.Builder clearAddress()

Address of the runtime element hosting this deployment.

string address = 5;

Returns
Type Description
Deployment.Builder

This builder for chaining.

clearConfig()

public Deployment.Builder clearConfig()

Configuration used to create this deployment.

string config = 4;

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlatform()

public Deployment.Builder clearPlatform()

Platform hosting this deployment.

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

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

clearUserEmail()

public Deployment.Builder clearUserEmail()

Identity of the user that triggered this deployment.

string user_email = 1;

Returns
Type Description
Deployment.Builder

This builder for chaining.

clone()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Deployment other)

public Deployment.Builder mergeFrom(Deployment other)
Parameter
Name Description
other Deployment
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Deployment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAddress(String value)

public Deployment.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
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
Name Description
value ByteString

The bytes for address to set.

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

The config to set.

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

The bytes for config to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Deployment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The platform to set.

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

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The resourceUri to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Deployment.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The userEmail to set.

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

The bytes for userEmail to set.

Returns
Type Description
Deployment.Builder

This builder for chaining.