Class Release.TargetRender.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Release.TargetRender build()
Returns
TypeDescription
Release.TargetRender

buildPartial()

public Release.TargetRender buildPartial()
Returns
TypeDescription
Release.TargetRender

clear()

public Release.TargetRender.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Release.TargetRender.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Release.TargetRender.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Release.TargetRender.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Release.TargetRender.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Release.TargetRender.Builder

This builder for chaining.

clone()

public Release.TargetRender.Builder clone()
Returns
TypeDescription
Release.TargetRender.Builder
Overrides

getDefaultInstanceForType()

public Release.TargetRender getDefaultInstanceForType()
Returns
TypeDescription
Release.TargetRender

getDescriptorForType()

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

Whether the metadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Release.TargetRender other)

public Release.TargetRender.Builder mergeFrom(Release.TargetRender other)
Parameter
NameDescription
otherRelease.TargetRender
Returns
TypeDescription
Release.TargetRender.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Release.TargetRender.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRenderMetadata
Returns
TypeDescription
Release.TargetRender.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Release.TargetRender.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueRelease.TargetRender.FailureCause

The failureCause to set.

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

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

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

The failureMessage to set.

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

The bytes for failureMessage to set.

Returns
TypeDescription
Release.TargetRender.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Release.TargetRender.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRenderMetadata
Returns
TypeDescription
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
NameDescription
builderForValueRenderMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueString

The renderingBuild to set.

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

The bytes for renderingBuild to set.

Returns
TypeDescription
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
NameDescription
valueRelease.TargetRender.TargetRenderState

The renderingState to set.

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

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Release.TargetRender.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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