Class Release.TargetRender.Builder (1.50.0)

public static final class Release.TargetRender.Builder extends GeneratedMessageV3.Builder<Release.TargetRender.Builder> implements Release.TargetRenderOrBuilder

Details of rendering for a single target.

Protobuf type google.cloud.deploy.v1.Release.TargetRender

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Release.TargetRender.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Release.TargetRender.Builder
Overrides

build()

public Release.TargetRender build()
Returns
Type Description
Release.TargetRender

buildPartial()

public Release.TargetRender buildPartial()
Returns
Type Description
Release.TargetRender

clear()

public Release.TargetRender.Builder clear()
Returns
Type Description
Release.TargetRender.Builder
Overrides

clearFailureCause()

public Release.TargetRender.Builder clearFailureCause()

Output only. Reason this render failed. This will always be unspecified while the render in progress.

.google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

clearFailureMessage()

public Release.TargetRender.Builder clearFailureMessage()

Output only. Additional information about the render failure, if available.

string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public Release.TargetRender.Builder clearMetadata()

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Release.TargetRender.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRenderingBuild()

public Release.TargetRender.Builder clearRenderingBuild()

Output only. The resource name of the Cloud Build Build object that is used to render the manifest for this target. Format is projects/{project}/locations/{location}/builds/{build}.

string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

clearRenderingState()

public Release.TargetRender.Builder clearRenderingState()

Output only. Current state of the render operation for this Target.

.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

clone()

public Release.TargetRender.Builder clone()
Returns
Type Description
Release.TargetRender.Builder
Overrides

getDefaultInstanceForType()

public Release.TargetRender getDefaultInstanceForType()
Returns
Type Description
Release.TargetRender

getDescriptorForType()

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

getFailureCause()

public Release.TargetRender.FailureCause getFailureCause()

Output only. Reason this render failed. This will always be unspecified while the render in progress.

.google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Release.TargetRender.FailureCause

The failureCause.

getFailureCauseValue()

public int getFailureCauseValue()

Output only. Reason this render failed. This will always be unspecified while the render in progress.

.google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for failureCause.

getFailureMessage()

public String getFailureMessage()

Output only. Additional information about the render failure, if available.

string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The failureMessage.

getFailureMessageBytes()

public ByteString getFailureMessageBytes()

Output only. Additional information about the render failure, if available.

string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for failureMessage.

getMetadata()

public RenderMetadata getMetadata()

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RenderMetadata

The metadata.

getMetadataBuilder()

public RenderMetadata.Builder getMetadataBuilder()

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RenderMetadata.Builder

getMetadataOrBuilder()

public RenderMetadataOrBuilder getMetadataOrBuilder()

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RenderMetadataOrBuilder

getRenderingBuild()

public String getRenderingBuild()

Output only. The resource name of the Cloud Build Build object that is used to render the manifest for this target. Format is projects/{project}/locations/{location}/builds/{build}.

string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The renderingBuild.

getRenderingBuildBytes()

public ByteString getRenderingBuildBytes()

Output only. The resource name of the Cloud Build Build object that is used to render the manifest for this target. Format is projects/{project}/locations/{location}/builds/{build}.

string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for renderingBuild.

getRenderingState()

public Release.TargetRender.TargetRenderState getRenderingState()

Output only. Current state of the render operation for this Target.

.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Release.TargetRender.TargetRenderState

The renderingState.

getRenderingStateValue()

public int getRenderingStateValue()

Output only. Current state of the render operation for this Target.

.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for renderingState.

hasMetadata()

public boolean hasMetadata()

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the metadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Release.TargetRender other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(RenderMetadata value)

public Release.TargetRender.Builder mergeMetadata(RenderMetadata value)

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RenderMetadata
Returns
Type Description
Release.TargetRender.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setFailureCause(Release.TargetRender.FailureCause value)

public Release.TargetRender.Builder setFailureCause(Release.TargetRender.FailureCause value)

Output only. Reason this render failed. This will always be unspecified while the render in progress.

.google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Release.TargetRender.FailureCause

The failureCause to set.

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

setFailureCauseValue(int value)

public Release.TargetRender.Builder setFailureCauseValue(int value)

Output only. Reason this render failed. This will always be unspecified while the render in progress.

.google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

setFailureMessage(String value)

public Release.TargetRender.Builder setFailureMessage(String value)

Output only. Additional information about the render failure, if available.

string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The failureMessage to set.

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

setFailureMessageBytes(ByteString value)

public Release.TargetRender.Builder setFailureMessageBytes(ByteString value)

Output only. Additional information about the render failure, if available.

string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for failureMessage to set.

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(RenderMetadata value)

public Release.TargetRender.Builder setMetadata(RenderMetadata value)

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RenderMetadata
Returns
Type Description
Release.TargetRender.Builder

setMetadata(RenderMetadata.Builder builderForValue)

public Release.TargetRender.Builder setMetadata(RenderMetadata.Builder builderForValue)

Output only. Metadata related to the Release render for this Target.

.google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RenderMetadata.Builder
Returns
Type Description
Release.TargetRender.Builder

setRenderingBuild(String value)

public Release.TargetRender.Builder setRenderingBuild(String value)

Output only. The resource name of the Cloud Build Build object that is used to render the manifest for this target. Format is projects/{project}/locations/{location}/builds/{build}.

string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The renderingBuild to set.

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

setRenderingBuildBytes(ByteString value)

public Release.TargetRender.Builder setRenderingBuildBytes(ByteString value)

Output only. The resource name of the Cloud Build Build object that is used to render the manifest for this target. Format is projects/{project}/locations/{location}/builds/{build}.

string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for renderingBuild to set.

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

setRenderingState(Release.TargetRender.TargetRenderState value)

public Release.TargetRender.Builder setRenderingState(Release.TargetRender.TargetRenderState value)

Output only. Current state of the render operation for this Target.

.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Release.TargetRender.TargetRenderState

The renderingState to set.

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

setRenderingStateValue(int value)

public Release.TargetRender.Builder setRenderingStateValue(int value)

Output only. Current state of the render operation for this Target.

.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
Release.TargetRender.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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