Class PreviewOperationMetadata.Builder (0.3.0)

public static final class PreviewOperationMetadata.Builder extends GeneratedMessage.Builder<PreviewOperationMetadata.Builder> implements PreviewOperationMetadataOrBuilder

Ephemeral metadata depicting the state of the preview operation.

Protobuf type google.cloud.designcenter.v1.PreviewOperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllResources(Iterable<? extends Resource> values)

public PreviewOperationMetadata.Builder addAllResources(Iterable<? extends Resource> values)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.Resource>
Returns
Type Description
PreviewOperationMetadata.Builder

addResources(Resource value)

public PreviewOperationMetadata.Builder addResources(Resource value)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
value Resource
Returns
Type Description
PreviewOperationMetadata.Builder

addResources(Resource.Builder builderForValue)

public PreviewOperationMetadata.Builder addResources(Resource.Builder builderForValue)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
builderForValue Resource.Builder
Returns
Type Description
PreviewOperationMetadata.Builder

addResources(int index, Resource value)

public PreviewOperationMetadata.Builder addResources(int index, Resource value)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameters
Name Description
index int
value Resource
Returns
Type Description
PreviewOperationMetadata.Builder

addResources(int index, Resource.Builder builderForValue)

public PreviewOperationMetadata.Builder addResources(int index, Resource.Builder builderForValue)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameters
Name Description
index int
builderForValue Resource.Builder
Returns
Type Description
PreviewOperationMetadata.Builder

addResourcesBuilder()

public Resource.Builder addResourcesBuilder()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
Resource.Builder

addResourcesBuilder(int index)

public Resource.Builder addResourcesBuilder(int index)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
index int
Returns
Type Description
Resource.Builder

build()

public PreviewOperationMetadata build()
Returns
Type Description
PreviewOperationMetadata

buildPartial()

public PreviewOperationMetadata buildPartial()
Returns
Type Description
PreviewOperationMetadata

clear()

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

clearPreviewBuild()

public PreviewOperationMetadata.Builder clearPreviewBuild()

Output only. Cloud Build instance UUID associated with the preview operation.

string preview_build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

clearPreviewLogs()

public PreviewOperationMetadata.Builder clearPreviewLogs()

Output only. Location of the preview operation logs in gs://{bucket}/{object} format.

string preview_logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

clearPreviewStep()

public PreviewOperationMetadata.Builder clearPreviewStep()

Output only. The current step of the preview. The possible steps a preview may be running as returned by the Infrastructure. Manager.

string preview_step = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

clearResources()

public PreviewOperationMetadata.Builder clearResources()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
PreviewOperationMetadata.Builder

getDefaultInstanceForType()

public PreviewOperationMetadata getDefaultInstanceForType()
Returns
Type Description
PreviewOperationMetadata

getDescriptorForType()

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

getPreviewBuild()

public String getPreviewBuild()

Output only. Cloud Build instance UUID associated with the preview operation.

string preview_build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The previewBuild.

getPreviewBuildBytes()

public ByteString getPreviewBuildBytes()

Output only. Cloud Build instance UUID associated with the preview operation.

string preview_build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for previewBuild.

getPreviewLogs()

public String getPreviewLogs()

Output only. Location of the preview operation logs in gs://{bucket}/{object} format.

string preview_logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The previewLogs.

getPreviewLogsBytes()

public ByteString getPreviewLogsBytes()

Output only. Location of the preview operation logs in gs://{bucket}/{object} format.

string preview_logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for previewLogs.

getPreviewStep()

public String getPreviewStep()

Output only. The current step of the preview. The possible steps a preview may be running as returned by the Infrastructure. Manager.

string preview_step = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The previewStep.

getPreviewStepBytes()

public ByteString getPreviewStepBytes()

Output only. The current step of the preview. The possible steps a preview may be running as returned by the Infrastructure. Manager.

string preview_step = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for previewStep.

getResources(int index)

public Resource getResources(int index)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
index int
Returns
Type Description
Resource

getResourcesBuilder(int index)

public Resource.Builder getResourcesBuilder(int index)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
index int
Returns
Type Description
Resource.Builder

getResourcesBuilderList()

public List<Resource.Builder> getResourcesBuilderList()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
List<Builder>

getResourcesCount()

public int getResourcesCount()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
int

getResourcesList()

public List<Resource> getResourcesList()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
List<Resource>

getResourcesOrBuilder(int index)

public ResourceOrBuilder getResourcesOrBuilder(int index)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
index int
Returns
Type Description
ResourceOrBuilder

getResourcesOrBuilderList()

public List<? extends ResourceOrBuilder> getResourcesOrBuilderList()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ResourceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreviewOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeResources(int index)

public PreviewOperationMetadata.Builder removeResources(int index)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
index int
Returns
Type Description
PreviewOperationMetadata.Builder

setPreviewBuild(String value)

public PreviewOperationMetadata.Builder setPreviewBuild(String value)

Output only. Cloud Build instance UUID associated with the preview operation.

string preview_build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The previewBuild to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setPreviewBuildBytes(ByteString value)

public PreviewOperationMetadata.Builder setPreviewBuildBytes(ByteString value)

Output only. Cloud Build instance UUID associated with the preview operation.

string preview_build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for previewBuild to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setPreviewLogs(String value)

public PreviewOperationMetadata.Builder setPreviewLogs(String value)

Output only. Location of the preview operation logs in gs://{bucket}/{object} format.

string preview_logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The previewLogs to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setPreviewLogsBytes(ByteString value)

public PreviewOperationMetadata.Builder setPreviewLogsBytes(ByteString value)

Output only. Location of the preview operation logs in gs://{bucket}/{object} format.

string preview_logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for previewLogs to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setPreviewStep(String value)

public PreviewOperationMetadata.Builder setPreviewStep(String value)

Output only. The current step of the preview. The possible steps a preview may be running as returned by the Infrastructure. Manager.

string preview_step = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The previewStep to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setPreviewStepBytes(ByteString value)

public PreviewOperationMetadata.Builder setPreviewStepBytes(ByteString value)

Output only. The current step of the preview. The possible steps a preview may be running as returned by the Infrastructure. Manager.

string preview_step = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for previewStep to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setResources(int index, Resource value)

public PreviewOperationMetadata.Builder setResources(int index, Resource value)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameters
Name Description
index int
value Resource
Returns
Type Description
PreviewOperationMetadata.Builder

setResources(int index, Resource.Builder builderForValue)

public PreviewOperationMetadata.Builder setResources(int index, Resource.Builder builderForValue)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameters
Name Description
index int
builderForValue Resource.Builder
Returns
Type Description
PreviewOperationMetadata.Builder