Class ComputeDeploymentStatusResponse.Builder (0.14.0)

public static final class ComputeDeploymentStatusResponse.Builder extends GeneratedMessageV3.Builder<ComputeDeploymentStatusResponse.Builder> implements ComputeDeploymentStatusResponseOrBuilder

Response object for ComputeDeploymentStatus.

Protobuf type google.cloud.telcoautomation.v1.ComputeDeploymentStatusResponse

Static Methods

getDescriptor()

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

Methods

addAllResourceStatuses(Iterable<? extends ResourceStatus> values)

public ComputeDeploymentStatusResponse.Builder addAllResourceStatuses(Iterable<? extends ResourceStatus> values)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.telcoautomation.v1.ResourceStatus>
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResourceStatuses(ResourceStatus value)

public ComputeDeploymentStatusResponse.Builder addResourceStatuses(ResourceStatus value)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ResourceStatus
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

addResourceStatuses(ResourceStatus.Builder builderForValue)

public ComputeDeploymentStatusResponse.Builder addResourceStatuses(ResourceStatus.Builder builderForValue)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ResourceStatus.Builder
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

addResourceStatuses(int index, ResourceStatus value)

public ComputeDeploymentStatusResponse.Builder addResourceStatuses(int index, ResourceStatus value)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ResourceStatus
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

addResourceStatuses(int index, ResourceStatus.Builder builderForValue)

public ComputeDeploymentStatusResponse.Builder addResourceStatuses(int index, ResourceStatus.Builder builderForValue)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ResourceStatus.Builder
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

addResourceStatusesBuilder()

public ResourceStatus.Builder addResourceStatusesBuilder()

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceStatus.Builder

addResourceStatusesBuilder(int index)

public ResourceStatus.Builder addResourceStatusesBuilder(int index)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ResourceStatus.Builder

build()

public ComputeDeploymentStatusResponse build()
Returns
Type Description
ComputeDeploymentStatusResponse

buildPartial()

public ComputeDeploymentStatusResponse buildPartial()
Returns
Type Description
ComputeDeploymentStatusResponse

clear()

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

clearAggregatedStatus()

public ComputeDeploymentStatusResponse.Builder clearAggregatedStatus()

Output only. Aggregated status of a deployment.

.google.cloud.telcoautomation.v1.Status aggregated_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ComputeDeploymentStatusResponse.Builder clearName()

The name of the deployment.

string name = 1;

Returns
Type Description
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceStatuses()

public ComputeDeploymentStatusResponse.Builder clearResourceStatuses()

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeDeploymentStatusResponse.Builder

clone()

public ComputeDeploymentStatusResponse.Builder clone()
Returns
Type Description
ComputeDeploymentStatusResponse.Builder
Overrides

getAggregatedStatus()

public Status getAggregatedStatus()

Output only. Aggregated status of a deployment.

.google.cloud.telcoautomation.v1.Status aggregated_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Status

The aggregatedStatus.

getAggregatedStatusValue()

public int getAggregatedStatusValue()

Output only. Aggregated status of a deployment.

.google.cloud.telcoautomation.v1.Status aggregated_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for aggregatedStatus.

getDefaultInstanceForType()

public ComputeDeploymentStatusResponse getDefaultInstanceForType()
Returns
Type Description
ComputeDeploymentStatusResponse

getDescriptorForType()

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

getName()

public String getName()

The name of the deployment.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the deployment.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getResourceStatuses(int index)

public ResourceStatus getResourceStatuses(int index)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ResourceStatus

getResourceStatusesBuilder(int index)

public ResourceStatus.Builder getResourceStatusesBuilder(int index)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ResourceStatus.Builder

getResourceStatusesBuilderList()

public List<ResourceStatus.Builder> getResourceStatusesBuilderList()

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getResourceStatusesCount()

public int getResourceStatusesCount()

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getResourceStatusesList()

public List<ResourceStatus> getResourceStatusesList()

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ResourceStatus>

getResourceStatusesOrBuilder(int index)

public ResourceStatusOrBuilder getResourceStatusesOrBuilder(int index)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ResourceStatusOrBuilder

getResourceStatusesOrBuilderList()

public List<? extends ResourceStatusOrBuilder> getResourceStatusesOrBuilderList()

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.telcoautomation.v1.ResourceStatusOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ComputeDeploymentStatusResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeResourceStatuses(int index)

public ComputeDeploymentStatusResponse.Builder removeResourceStatuses(int index)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

setAggregatedStatus(Status value)

public ComputeDeploymentStatusResponse.Builder setAggregatedStatus(Status value)

Output only. Aggregated status of a deployment.

.google.cloud.telcoautomation.v1.Status aggregated_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Status

The aggregatedStatus to set.

Returns
Type Description
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

setAggregatedStatusValue(int value)

public ComputeDeploymentStatusResponse.Builder setAggregatedStatusValue(int value)

Output only. Aggregated status of a deployment.

.google.cloud.telcoautomation.v1.Status aggregated_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ComputeDeploymentStatusResponse.Builder setName(String value)

The name of the deployment.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ComputeDeploymentStatusResponse.Builder setNameBytes(ByteString value)

The name of the deployment.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

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

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

setResourceStatuses(int index, ResourceStatus value)

public ComputeDeploymentStatusResponse.Builder setResourceStatuses(int index, ResourceStatus value)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ResourceStatus
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

setResourceStatuses(int index, ResourceStatus.Builder builderForValue)

public ComputeDeploymentStatusResponse.Builder setResourceStatuses(int index, ResourceStatus.Builder builderForValue)

Output only. Resource level status details in deployments.

repeated .google.cloud.telcoautomation.v1.ResourceStatus resource_statuses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ResourceStatus.Builder
Returns
Type Description
ComputeDeploymentStatusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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