Class ResourceStatus (0.21.0)

public final class ResourceStatus extends GeneratedMessageV3 implements ResourceStatusOrBuilder

Status of a deployment resource.

Protobuf type google.cloud.telcoautomation.v1.ResourceStatus

Static Fields

GROUP_FIELD_NUMBER

public static final int GROUP_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NF_DEPLOY_STATUS_FIELD_NUMBER

public static final int NF_DEPLOY_STATUS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_NAMESPACE_FIELD_NUMBER

public static final int RESOURCE_NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceStatus getDefaultInstance()
Returns
Type Description
ResourceStatus

getDescriptor()

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

newBuilder()

public static ResourceStatus.Builder newBuilder()
Returns
Type Description
ResourceStatus.Builder

newBuilder(ResourceStatus prototype)

public static ResourceStatus.Builder newBuilder(ResourceStatus prototype)
Parameter
Name Description
prototype ResourceStatus
Returns
Type Description
ResourceStatus.Builder

parseDelimitedFrom(InputStream input)

public static ResourceStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ResourceStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ResourceStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ResourceStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ResourceStatus> parser()
Returns
Type Description
Parser<ResourceStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ResourceStatus getDefaultInstanceForType()
Returns
Type Description
ResourceStatus

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.v1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NFDeployStatus

The nfDeployStatus.

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
Type Description
NFDeployStatusOrBuilder

getParserForType()

public Parser<ResourceStatus> getParserForType()
Returns
Type Description
Parser<ResourceStatus>
Overrides

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.v1.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.v1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public Status getStatus()

Output only. Status of the resource.

.google.cloud.telcoautomation.v1.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.v1.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.v1.NFDeployStatus nf_deploy_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nfDeployStatus field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResourceStatus.Builder newBuilderForType()
Returns
Type Description
ResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourceStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ResourceStatus.Builder toBuilder()
Returns
Type Description
ResourceStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException