Class ResourceStatus.Builder (0.22.0)

public static final class ResourceStatus.Builder extends GeneratedMessageV3.Builder<ResourceStatus.Builder> implements ResourceStatusOrBuilder

Status of a deployment resource.

Protobuf type google.cloud.telcoautomation.v1alpha1.ResourceStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourceStatus build()
Returns
Type Description
ResourceStatus

buildPartial()

public ResourceStatus buildPartial()
Returns
Type Description
ResourceStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGroup()

public ResourceStatus.Builder clearGroup()

Group to which the resource belongs to.

string group = 3;

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clearKind()

public ResourceStatus.Builder clearKind()

Kind of the resource.

string kind = 5;

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clearName()

public ResourceStatus.Builder clearName()

Name of the resource.

string name = 1;

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clearNfDeployStatus()

public ResourceStatus.Builder clearNfDeployStatus()

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceNamespace()

public ResourceStatus.Builder clearResourceNamespace()

Namespace of the resource.

string resource_namespace = 2;

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clearResourceType()

public ResourceStatus.Builder clearResourceType()

Output only. Resource type.

.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clearStatus()

public ResourceStatus.Builder clearStatus()

Output only. Status of the resource.

.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clearVersion()

public ResourceStatus.Builder clearVersion()

Version of the resource.

string version = 4;

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ResourceStatus getDefaultInstanceForType()
Returns
Type Description
ResourceStatus

getDescriptorForType()

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

getGroup()

public String getGroup()

Group to which the resource belongs to.

string group = 3;

Returns
Type Description
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Group to which the resource belongs to.

string group = 3;

Returns
Type Description
ByteString

The bytes for group.

getKind()

public String getKind()

Kind of the resource.

string kind = 5;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Kind of the resource.

string kind = 5;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public String getName()

Name of the resource.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNfDeployStatus()

public NFDeployStatus getNfDeployStatus()

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NFDeployStatus

The nfDeployStatus.

getNfDeployStatusBuilder()

public NFDeployStatus.Builder getNfDeployStatusBuilder()

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NFDeployStatus.Builder

getNfDeployStatusOrBuilder()

public NFDeployStatusOrBuilder getNfDeployStatusOrBuilder()

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NFDeployStatusOrBuilder

getResourceNamespace()

public String getResourceNamespace()

Namespace of the resource.

string resource_namespace = 2;

Returns
Type Description
String

The resourceNamespace.

getResourceNamespaceBytes()

public ByteString getResourceNamespaceBytes()

Namespace of the resource.

string resource_namespace = 2;

Returns
Type Description
ByteString

The bytes for resourceNamespace.

getResourceType()

public ResourceType getResourceType()

Output only. Resource type.

.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

Output only. Resource type.

.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for resourceType.

getStatus()

public Status getStatus()

Output only. Status of the resource.

.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Status

The status.

getStatusValue()

public int getStatusValue()

Output only. Status of the resource.

.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.

getVersion()

public String getVersion()

Version of the resource.

string version = 4;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Version of the resource.

string version = 4;

Returns
Type Description
ByteString

The bytes for version.

hasNfDeployStatus()

public boolean hasNfDeployStatus()

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nfDeployStatus field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNfDeployStatus(NFDeployStatus value)

public ResourceStatus.Builder mergeNfDeployStatus(NFDeployStatus value)

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value NFDeployStatus
Returns
Type Description
ResourceStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroup(String value)

public ResourceStatus.Builder setGroup(String value)

Group to which the resource belongs to.

string group = 3;

Parameter
Name Description
value String

The group to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setGroupBytes(ByteString value)

public ResourceStatus.Builder setGroupBytes(ByteString value)

Group to which the resource belongs to.

string group = 3;

Parameter
Name Description
value ByteString

The bytes for group to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setKind(String value)

public ResourceStatus.Builder setKind(String value)

Kind of the resource.

string kind = 5;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setKindBytes(ByteString value)

public ResourceStatus.Builder setKindBytes(ByteString value)

Kind of the resource.

string kind = 5;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setName(String value)

public ResourceStatus.Builder setName(String value)

Name of the resource.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ResourceStatus.Builder setNameBytes(ByteString value)

Name of the resource.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setNfDeployStatus(NFDeployStatus value)

public ResourceStatus.Builder setNfDeployStatus(NFDeployStatus value)

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value NFDeployStatus
Returns
Type Description
ResourceStatus.Builder

setNfDeployStatus(NFDeployStatus.Builder builderForValue)

public ResourceStatus.Builder setNfDeployStatus(NFDeployStatus.Builder builderForValue)

Output only. Detailed status of NFDeploy.

.google.cloud.telcoautomation.v1alpha1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

setResourceNamespace(String value)

public ResourceStatus.Builder setResourceNamespace(String value)

Namespace of the resource.

string resource_namespace = 2;

Parameter
Name Description
value String

The resourceNamespace to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setResourceNamespaceBytes(ByteString value)

public ResourceStatus.Builder setResourceNamespaceBytes(ByteString value)

Namespace of the resource.

string resource_namespace = 2;

Parameter
Name Description
value ByteString

The bytes for resourceNamespace to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setResourceType(ResourceType value)

public ResourceStatus.Builder setResourceType(ResourceType value)

Output only. Resource type.

.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ResourceType

The resourceType to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setResourceTypeValue(int value)

public ResourceStatus.Builder setResourceTypeValue(int value)

Output only. Resource type.

.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setStatus(Status value)

public ResourceStatus.Builder setStatus(Status value)

Output only. Status of the resource.

.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Status

The status to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setStatusValue(int value)

public ResourceStatus.Builder setStatusValue(int value)

Output only. Status of the resource.

.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public ResourceStatus.Builder setVersion(String value)

Version of the resource.

string version = 4;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public ResourceStatus.Builder setVersionBytes(ByteString value)

Version of the resource.

string version = 4;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.