Class ResourceStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
com.google.cloud.telcoautomation.v1.ResourceStatus.Builder
All Implemented Interfaces:
ResourceStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ResourceStatus

public static final class ResourceStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder> implements ResourceStatusOrBuilder
 Status of a deployment resource.
 
Protobuf type google.cloud.telcoautomation.v1.ResourceStatus
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
    • clear

      public ResourceStatus.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
    • getDefaultInstanceForType

      public ResourceStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ResourceStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ResourceStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ResourceStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourceStatus.Builder>
    • mergeFrom

      public ResourceStatus.Builder mergeFrom(ResourceStatus other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
    • mergeFrom

      public ResourceStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourceStatus.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Name of the resource.
       
      string name = 1;
      Specified by:
      getName in interface ResourceStatusOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the resource.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ResourceStatusOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ResourceStatus.Builder setName(String value)
       Name of the resource.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ResourceStatus.Builder clearName()
       Name of the resource.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ResourceStatus.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the resource.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getResourceNamespace

      public String getResourceNamespace()
       Namespace of the resource.
       
      string resource_namespace = 2;
      Specified by:
      getResourceNamespace in interface ResourceStatusOrBuilder
      Returns:
      The resourceNamespace.
    • getResourceNamespaceBytes

      public com.google.protobuf.ByteString getResourceNamespaceBytes()
       Namespace of the resource.
       
      string resource_namespace = 2;
      Specified by:
      getResourceNamespaceBytes in interface ResourceStatusOrBuilder
      Returns:
      The bytes for resourceNamespace.
    • setResourceNamespace

      public ResourceStatus.Builder setResourceNamespace(String value)
       Namespace of the resource.
       
      string resource_namespace = 2;
      Parameters:
      value - The resourceNamespace to set.
      Returns:
      This builder for chaining.
    • clearResourceNamespace

      public ResourceStatus.Builder clearResourceNamespace()
       Namespace of the resource.
       
      string resource_namespace = 2;
      Returns:
      This builder for chaining.
    • setResourceNamespaceBytes

      public ResourceStatus.Builder setResourceNamespaceBytes(com.google.protobuf.ByteString value)
       Namespace of the resource.
       
      string resource_namespace = 2;
      Parameters:
      value - The bytes for resourceNamespace to set.
      Returns:
      This builder for chaining.
    • getGroup

      public String getGroup()
       Group to which the resource belongs to.
       
      string group = 3;
      Specified by:
      getGroup in interface ResourceStatusOrBuilder
      Returns:
      The group.
    • getGroupBytes

      public com.google.protobuf.ByteString getGroupBytes()
       Group to which the resource belongs to.
       
      string group = 3;
      Specified by:
      getGroupBytes in interface ResourceStatusOrBuilder
      Returns:
      The bytes for group.
    • setGroup

      public ResourceStatus.Builder setGroup(String value)
       Group to which the resource belongs to.
       
      string group = 3;
      Parameters:
      value - The group to set.
      Returns:
      This builder for chaining.
    • clearGroup

      public ResourceStatus.Builder clearGroup()
       Group to which the resource belongs to.
       
      string group = 3;
      Returns:
      This builder for chaining.
    • setGroupBytes

      public ResourceStatus.Builder setGroupBytes(com.google.protobuf.ByteString value)
       Group to which the resource belongs to.
       
      string group = 3;
      Parameters:
      value - The bytes for group to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       Version of the resource.
       
      string version = 4;
      Specified by:
      getVersion in interface ResourceStatusOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Version of the resource.
       
      string version = 4;
      Specified by:
      getVersionBytes in interface ResourceStatusOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public ResourceStatus.Builder setVersion(String value)
       Version of the resource.
       
      string version = 4;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public ResourceStatus.Builder clearVersion()
       Version of the resource.
       
      string version = 4;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public ResourceStatus.Builder setVersionBytes(com.google.protobuf.ByteString value)
       Version of the resource.
       
      string version = 4;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getKind

      public String getKind()
       Kind of the resource.
       
      string kind = 5;
      Specified by:
      getKind in interface ResourceStatusOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Kind of the resource.
       
      string kind = 5;
      Specified by:
      getKindBytes in interface ResourceStatusOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public ResourceStatus.Builder setKind(String value)
       Kind of the resource.
       
      string kind = 5;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public ResourceStatus.Builder clearKind()
       Kind of the resource.
       
      string kind = 5;
      Returns:
      This builder for chaining.
    • setKindBytes

      public ResourceStatus.Builder setKindBytes(com.google.protobuf.ByteString value)
       Kind of the resource.
       
      string kind = 5;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • getResourceTypeValue

      public int getResourceTypeValue()
       Output only. Resource type.
       
      .google.cloud.telcoautomation.v1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceTypeValue in interface ResourceStatusOrBuilder
      Returns:
      The enum numeric value on the wire for resourceType.
    • setResourceTypeValue

      public ResourceStatus.Builder setResourceTypeValue(int value)
       Output only. Resource type.
       
      .google.cloud.telcoautomation.v1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for resourceType to set.
      Returns:
      This builder for chaining.
    • getResourceType

      public ResourceType getResourceType()
       Output only. Resource type.
       
      .google.cloud.telcoautomation.v1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceType in interface ResourceStatusOrBuilder
      Returns:
      The resourceType.
    • setResourceType

      public ResourceStatus.Builder setResourceType(ResourceType value)
       Output only. Resource type.
       
      .google.cloud.telcoautomation.v1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The resourceType to set.
      Returns:
      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:
      This builder for chaining.
    • getStatusValue

      public int getStatusValue()
       Output only. Status of the resource.
       
      .google.cloud.telcoautomation.v1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface ResourceStatusOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      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];
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public Status getStatus()
       Output only. Status of the resource.
       
      .google.cloud.telcoautomation.v1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface ResourceStatusOrBuilder
      Returns:
      The status.
    • setStatus

      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];
      Parameters:
      value - The status to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasNfDeployStatus in interface ResourceStatusOrBuilder
      Returns:
      Whether the nfDeployStatus field is set.
    • 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];
      Specified by:
      getNfDeployStatus in interface ResourceStatusOrBuilder
      Returns:
      The nfDeployStatus.
    • setNfDeployStatus

      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];
    • setNfDeployStatus

      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];
    • mergeNfDeployStatus

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getNfDeployStatusOrBuilder in interface ResourceStatusOrBuilder