Class ComputeDeploymentStatusResponse.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.telcoautomation.v1.ResourceStatus>
Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ComputeDeploymentStatusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResourceStatus
Returns
TypeDescription
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
NameDescription
builderForValueResourceStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueResourceStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResourceStatus.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ResourceStatus.Builder

build()

public ComputeDeploymentStatusResponse build()
Returns
TypeDescription
ComputeDeploymentStatusResponse

buildPartial()

public ComputeDeploymentStatusResponse buildPartial()
Returns
TypeDescription
ComputeDeploymentStatusResponse

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ComputeDeploymentStatusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder
Overrides

clearName()

public ComputeDeploymentStatusResponse.Builder clearName()

The name of the deployment.

string name = 1;

Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ComputeDeploymentStatusResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for aggregatedStatus.

getDefaultInstanceForType()

public ComputeDeploymentStatusResponse getDefaultInstanceForType()
Returns
TypeDescription
ComputeDeploymentStatusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the deployment.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the deployment.

string name = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.telcoautomation.v1.ResourceStatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ComputeDeploymentStatusResponse other)

public ComputeDeploymentStatusResponse.Builder mergeFrom(ComputeDeploymentStatusResponse other)
Parameter
NameDescription
otherComputeDeploymentStatusResponse
Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ComputeDeploymentStatusResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ComputeDeploymentStatusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueStatus

The aggregatedStatus to set.

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

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

Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ComputeDeploymentStatusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder
Overrides

setName(String value)

public ComputeDeploymentStatusResponse.Builder setName(String value)

The name of the deployment.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ComputeDeploymentStatusResponse.Builder setNameBytes(ByteString value)

The name of the deployment.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueResourceStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResourceStatus.Builder
Returns
TypeDescription
ComputeDeploymentStatusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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