Class ResourceStatus.Builder (0.7.0)

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

Status of a deployment resource.

Protobuf type google.cloud.telcoautomation.v1.ResourceStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourceStatus build()
Returns
TypeDescription
ResourceStatus

buildPartial()

public ResourceStatus buildPartial()
Returns
TypeDescription
ResourceStatus

clear()

public ResourceStatus.Builder clear()
Returns
TypeDescription
ResourceStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGroup()

public ResourceStatus.Builder clearGroup()

Group to which the resource belongs to.

string group = 3;

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

clearKind()

public ResourceStatus.Builder clearKind()

Kind of the resource.

string kind = 5;

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

clearName()

public ResourceStatus.Builder clearName()

Name of the resource.

string name = 1;

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

clearNfDeployStatus()

public ResourceStatus.Builder clearNfDeployStatus()

Output only. Detailed status of NFDeploy.

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

Returns
TypeDescription
ResourceStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResourceStatus.Builder
Overrides

clearResourceNamespace()

public ResourceStatus.Builder clearResourceNamespace()

Namespace of the resource.

string resource_namespace = 2;

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

clearResourceType()

public ResourceStatus.Builder clearResourceType()

Output only. Resource type.

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

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

clearStatus()

public ResourceStatus.Builder clearStatus()

Output only. Status of the resource.

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

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

clearVersion()

public ResourceStatus.Builder clearVersion()

Version of the resource.

string version = 4;

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

clone()

public ResourceStatus.Builder clone()
Returns
TypeDescription
ResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public ResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
ResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGroup()

public String getGroup()

Group to which the resource belongs to.

string group = 3;

Returns
TypeDescription
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Group to which the resource belongs to.

string group = 3;

Returns
TypeDescription
ByteString

The bytes for group.

getKind()

public String getKind()

Kind of the resource.

string kind = 5;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Kind of the resource.

string kind = 5;

Returns
TypeDescription
ByteString

The bytes for kind.

getName()

public String getName()

Name of the resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNfDeployStatus()

public NFDeployStatus getNfDeployStatus()

Output only. Detailed status of NFDeploy.

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

Returns
TypeDescription
NFDeployStatus

The nfDeployStatus.

getNfDeployStatusBuilder()

public NFDeployStatus.Builder getNfDeployStatusBuilder()

Output only. Detailed status of NFDeploy.

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

Returns
TypeDescription
NFDeployStatus.Builder

getNfDeployStatusOrBuilder()

public NFDeployStatusOrBuilder getNfDeployStatusOrBuilder()

Output only. Detailed status of NFDeploy.

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

Returns
TypeDescription
NFDeployStatusOrBuilder

getResourceNamespace()

public String getResourceNamespace()

Namespace of the resource.

string resource_namespace = 2;

Returns
TypeDescription
String

The resourceNamespace.

getResourceNamespaceBytes()

public ByteString getResourceNamespaceBytes()

Namespace of the resource.

string resource_namespace = 2;

Returns
TypeDescription
ByteString

The bytes for resourceNamespace.

getResourceType()

public ResourceType getResourceType()

Output only. Resource type.

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

Returns
TypeDescription
ResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

Output only. Resource type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for resourceType.

getStatus()

public Status getStatus()

Output only. Status of the resource.

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

Returns
TypeDescription
Status

The status.

getStatusValue()

public int getStatusValue()

Output only. Status of the resource.

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

Returns
TypeDescription
int

The enum numeric value on the wire for status.

getVersion()

public String getVersion()

Version of the resource.

string version = 4;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Version of the resource.

string version = 4;

Returns
TypeDescription
ByteString

The bytes for version.

hasNfDeployStatus()

public boolean hasNfDeployStatus()

Output only. Detailed status of NFDeploy.

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

Returns
TypeDescription
boolean

Whether the nfDeployStatus field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourceStatus other)

public ResourceStatus.Builder mergeFrom(ResourceStatus other)
Parameter
NameDescription
otherResourceStatus
Returns
TypeDescription
ResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNfDeployStatus(NFDeployStatus value)

public ResourceStatus.Builder mergeNfDeployStatus(NFDeployStatus value)

Output only. Detailed status of NFDeploy.

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

Parameter
NameDescription
valueNFDeployStatus
Returns
TypeDescription
ResourceStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourceStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroup(String value)

public ResourceStatus.Builder setGroup(String value)

Group to which the resource belongs to.

string group = 3;

Parameter
NameDescription
valueString

The group to set.

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

The bytes for group to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setKind(String value)

public ResourceStatus.Builder setKind(String value)

Kind of the resource.

string kind = 5;

Parameter
NameDescription
valueString

The kind to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setKindBytes(ByteString value)

public ResourceStatus.Builder setKindBytes(ByteString value)

Kind of the resource.

string kind = 5;

Parameter
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setName(String value)

public ResourceStatus.Builder setName(String value)

Name of the resource.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ResourceStatus.Builder setNameBytes(ByteString value)

Name of the resource.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setNfDeployStatus(NFDeployStatus value)

public ResourceStatus.Builder setNfDeployStatus(NFDeployStatus value)

Output only. Detailed status of NFDeploy.

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

Parameter
NameDescription
valueNFDeployStatus
Returns
TypeDescription
ResourceStatus.Builder

setNfDeployStatus(NFDeployStatus.Builder builderForValue)

public ResourceStatus.Builder setNfDeployStatus(NFDeployStatus.Builder builderForValue)

Output only. Detailed status of NFDeploy.

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

Parameter
NameDescription
builderForValueNFDeployStatus.Builder
Returns
TypeDescription
ResourceStatus.Builder

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

public ResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourceStatus.Builder
Overrides

setResourceNamespace(String value)

public ResourceStatus.Builder setResourceNamespace(String value)

Namespace of the resource.

string resource_namespace = 2;

Parameter
NameDescription
valueString

The resourceNamespace to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setResourceNamespaceBytes(ByteString value)

public ResourceStatus.Builder setResourceNamespaceBytes(ByteString value)

Namespace of the resource.

string resource_namespace = 2;

Parameter
NameDescription
valueByteString

The bytes for resourceNamespace to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setResourceType(ResourceType value)

public ResourceStatus.Builder setResourceType(ResourceType value)

Output only. Resource type.

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

Parameter
NameDescription
valueResourceType

The resourceType to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setResourceTypeValue(int value)

public ResourceStatus.Builder setResourceTypeValue(int value)

Output only. Resource type.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setStatus(Status value)

public ResourceStatus.Builder setStatus(Status value)

Output only. Status of the resource.

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

Parameter
NameDescription
valueStatus

The status to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setStatusValue(int value)

public ResourceStatus.Builder setStatusValue(int value)

Output only. Status of the resource.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public ResourceStatus.Builder setVersion(String value)

Version of the resource.

string version = 4;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public ResourceStatus.Builder setVersionBytes(ByteString value)

Version of the resource.

string version = 4;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
ResourceStatus.Builder

This builder for chaining.