Class ResourceStatus (0.2.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
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NF_DEPLOY_STATUS_FIELD_NUMBER

public static final int NF_DEPLOY_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_NAMESPACE_FIELD_NUMBER

public static final int RESOURCE_NAMESPACE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourceStatus getDefaultInstance()
Returns
TypeDescription
ResourceStatus

getDescriptor()

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

newBuilder()

public static ResourceStatus.Builder newBuilder()
Returns
TypeDescription
ResourceStatus.Builder

newBuilder(ResourceStatus prototype)

public static ResourceStatus.Builder newBuilder(ResourceStatus prototype)
Parameter
NameDescription
prototypeResourceStatus
Returns
TypeDescription
ResourceStatus.Builder

parseDelimitedFrom(InputStream input)

public static ResourceStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResourceStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResourceStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResourceStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ResourceStatus> parser()
Returns
TypeDescription
Parser<ResourceStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
ResourceStatus

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.

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

getParserForType()

public Parser<ResourceStatus> getParserForType()
Returns
TypeDescription
Parser<ResourceStatus>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResourceStatus.Builder newBuilderForType()
Returns
TypeDescription
ResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResourceStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResourceStatus.Builder toBuilder()
Returns
TypeDescription
ResourceStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException