Class NFDeployStatus.Builder (0.22.0)

public static final class NFDeployStatus.Builder extends GeneratedMessageV3.Builder<NFDeployStatus.Builder> implements NFDeployStatusOrBuilder

Deployment status of NFDeploy.

Protobuf type google.cloud.telcoautomation.v1.NFDeployStatus

Static Methods

getDescriptor()

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

Methods

addAllSites(Iterable<? extends NFDeploySiteStatus> values)

public NFDeployStatus.Builder addAllSites(Iterable<? extends NFDeploySiteStatus> values)

Output only. Per-Site Status.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSites(NFDeploySiteStatus value)

public NFDeployStatus.Builder addSites(NFDeploySiteStatus value)

Output only. Per-Site Status.

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

Parameter
Name Description
value NFDeploySiteStatus
Returns
Type Description
NFDeployStatus.Builder

addSites(NFDeploySiteStatus.Builder builderForValue)

public NFDeployStatus.Builder addSites(NFDeploySiteStatus.Builder builderForValue)

Output only. Per-Site Status.

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

Parameter
Name Description
builderForValue NFDeploySiteStatus.Builder
Returns
Type Description
NFDeployStatus.Builder

addSites(int index, NFDeploySiteStatus value)

public NFDeployStatus.Builder addSites(int index, NFDeploySiteStatus value)

Output only. Per-Site Status.

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

Parameters
Name Description
index int
value NFDeploySiteStatus
Returns
Type Description
NFDeployStatus.Builder

addSites(int index, NFDeploySiteStatus.Builder builderForValue)

public NFDeployStatus.Builder addSites(int index, NFDeploySiteStatus.Builder builderForValue)

Output only. Per-Site Status.

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

Parameters
Name Description
index int
builderForValue NFDeploySiteStatus.Builder
Returns
Type Description
NFDeployStatus.Builder

addSitesBuilder()

public NFDeploySiteStatus.Builder addSitesBuilder()

Output only. Per-Site Status.

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

Returns
Type Description
NFDeploySiteStatus.Builder

addSitesBuilder(int index)

public NFDeploySiteStatus.Builder addSitesBuilder(int index)

Output only. Per-Site Status.

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

Parameter
Name Description
index int
Returns
Type Description
NFDeploySiteStatus.Builder

build()

public NFDeployStatus build()
Returns
Type Description
NFDeployStatus

buildPartial()

public NFDeployStatus buildPartial()
Returns
Type Description
NFDeployStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReadyNfs()

public NFDeployStatus.Builder clearReadyNfs()

Output only. Total number of NFs targeted by this deployment with a Ready Condition set.

int32 ready_nfs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NFDeployStatus.Builder

This builder for chaining.

clearSites()

public NFDeployStatus.Builder clearSites()

Output only. Per-Site Status.

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

Returns
Type Description
NFDeployStatus.Builder

clearTargetedNfs()

public NFDeployStatus.Builder clearTargetedNfs()

Output only. Total number of NFs targeted by this deployment

int32 targeted_nfs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NFDeployStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NFDeployStatus getDefaultInstanceForType()
Returns
Type Description
NFDeployStatus

getDescriptorForType()

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

getReadyNfs()

public int getReadyNfs()

Output only. Total number of NFs targeted by this deployment with a Ready Condition set.

int32 ready_nfs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The readyNfs.

getSites(int index)

public NFDeploySiteStatus getSites(int index)

Output only. Per-Site Status.

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

Parameter
Name Description
index int
Returns
Type Description
NFDeploySiteStatus

getSitesBuilder(int index)

public NFDeploySiteStatus.Builder getSitesBuilder(int index)

Output only. Per-Site Status.

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

Parameter
Name Description
index int
Returns
Type Description
NFDeploySiteStatus.Builder

getSitesBuilderList()

public List<NFDeploySiteStatus.Builder> getSitesBuilderList()

Output only. Per-Site Status.

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

Returns
Type Description
List<Builder>

getSitesCount()

public int getSitesCount()

Output only. Per-Site Status.

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

Returns
Type Description
int

getSitesList()

public List<NFDeploySiteStatus> getSitesList()

Output only. Per-Site Status.

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

Returns
Type Description
List<NFDeploySiteStatus>

getSitesOrBuilder(int index)

public NFDeploySiteStatusOrBuilder getSitesOrBuilder(int index)

Output only. Per-Site Status.

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

Parameter
Name Description
index int
Returns
Type Description
NFDeploySiteStatusOrBuilder

getSitesOrBuilderList()

public List<? extends NFDeploySiteStatusOrBuilder> getSitesOrBuilderList()

Output only. Per-Site Status.

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

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

getTargetedNfs()

public int getTargetedNfs()

Output only. Total number of NFs targeted by this deployment

int32 targeted_nfs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The targetedNfs.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NFDeployStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSites(int index)

public NFDeployStatus.Builder removeSites(int index)

Output only. Per-Site Status.

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

Parameter
Name Description
index int
Returns
Type Description
NFDeployStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setReadyNfs(int value)

public NFDeployStatus.Builder setReadyNfs(int value)

Output only. Total number of NFs targeted by this deployment with a Ready Condition set.

int32 ready_nfs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The readyNfs to set.

Returns
Type Description
NFDeployStatus.Builder

This builder for chaining.

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

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

setSites(int index, NFDeploySiteStatus value)

public NFDeployStatus.Builder setSites(int index, NFDeploySiteStatus value)

Output only. Per-Site Status.

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

Parameters
Name Description
index int
value NFDeploySiteStatus
Returns
Type Description
NFDeployStatus.Builder

setSites(int index, NFDeploySiteStatus.Builder builderForValue)

public NFDeployStatus.Builder setSites(int index, NFDeploySiteStatus.Builder builderForValue)

Output only. Per-Site Status.

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

Parameters
Name Description
index int
builderForValue NFDeploySiteStatus.Builder
Returns
Type Description
NFDeployStatus.Builder

setTargetedNfs(int value)

public NFDeployStatus.Builder setTargetedNfs(int value)

Output only. Total number of NFs targeted by this deployment

int32 targeted_nfs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The targetedNfs to set.

Returns
Type Description
NFDeployStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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