Class ProtectedResource

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.kms.inventory.v1.ProtectedResource
All Implemented Interfaces:
ProtectedResourceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ProtectedResource extends com.google.protobuf.GeneratedMessage implements ProtectedResourceOrBuilder
 Metadata about a resource protected by a Cloud KMS key.
 
Protobuf type google.cloud.kms.inventory.v1.ProtectedResource
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Metadata about a resource protected by a Cloud KMS key.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    A key-value pair of the resource's labels (v1) to their values.
    boolean
     
    The Cloud product that owns the resource.
    com.google.protobuf.ByteString
    The Cloud product that owns the resource.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    The name of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?
    com.google.protobuf.ByteString
    The name of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?
    The names of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?
    com.google.protobuf.ByteString
    The names of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?
    int
    The names of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?
    com.google.protobuf.ProtocolStringList
    The names of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Deprecated.
    int
    A key-value pair of the resource's labels (v1) to their values.
    A key-value pair of the resource's labels (v1) to their values.
    getLabelsOrDefault(String key, String defaultValue)
    A key-value pair of the resource's labels (v1) to their values.
    A key-value pair of the resource's labels (v1) to their values.
    Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
    com.google.protobuf.ByteString
    Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
    The full resource name of the resource.
    com.google.protobuf.ByteString
    The full resource name of the resource.
    com.google.protobuf.Parser<ProtectedResource>
     
    Format: `projects/{PROJECT_NUMBER}`.
    com.google.protobuf.ByteString
    Format: `projects/{PROJECT_NUMBER}`.
    The ID of the project that owns the resource.
    com.google.protobuf.ByteString
    The ID of the project that owns the resource.
    Example: `compute.googleapis.com/Disk`
    com.google.protobuf.ByteString
    Example: `compute.googleapis.com/Disk`
    int
     
    boolean
    Output only.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ProtectedResource>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PROJECT_FIELD_NUMBER

      public static final int PROJECT_FIELD_NUMBER
      See Also:
    • PROJECT_ID_FIELD_NUMBER

      public static final int PROJECT_ID_FIELD_NUMBER
      See Also:
    • CLOUD_PRODUCT_FIELD_NUMBER

      public static final int CLOUD_PRODUCT_FIELD_NUMBER
      See Also:
    • RESOURCE_TYPE_FIELD_NUMBER

      public static final int RESOURCE_TYPE_FIELD_NUMBER
      See Also:
    • LOCATION_FIELD_NUMBER

      public static final int LOCATION_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • CRYPTO_KEY_VERSION_FIELD_NUMBER

      public static final int CRYPTO_KEY_VERSION_FIELD_NUMBER
      See Also:
    • CRYPTO_KEY_VERSIONS_FIELD_NUMBER

      public static final int CRYPTO_KEY_VERSIONS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       The full resource name of the resource.
       Example:
       `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
       
      string name = 1;
      Specified by:
      getName in interface ProtectedResourceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The full resource name of the resource.
       Example:
       `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ProtectedResourceOrBuilder
      Returns:
      The bytes for name.
    • getProject

      public String getProject()
       Format: `projects/{PROJECT_NUMBER}`.
       
      string project = 2;
      Specified by:
      getProject in interface ProtectedResourceOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       Format: `projects/{PROJECT_NUMBER}`.
       
      string project = 2;
      Specified by:
      getProjectBytes in interface ProtectedResourceOrBuilder
      Returns:
      The bytes for project.
    • getProjectId

      public String getProjectId()
       The ID of the project that owns the resource.
       
      string project_id = 9;
      Specified by:
      getProjectId in interface ProtectedResourceOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       The ID of the project that owns the resource.
       
      string project_id = 9;
      Specified by:
      getProjectIdBytes in interface ProtectedResourceOrBuilder
      Returns:
      The bytes for projectId.
    • getCloudProduct

      public String getCloudProduct()
       The Cloud product that owns the resource.
       Example: `compute`
       
      string cloud_product = 8;
      Specified by:
      getCloudProduct in interface ProtectedResourceOrBuilder
      Returns:
      The cloudProduct.
    • getCloudProductBytes

      public com.google.protobuf.ByteString getCloudProductBytes()
       The Cloud product that owns the resource.
       Example: `compute`
       
      string cloud_product = 8;
      Specified by:
      getCloudProductBytes in interface ProtectedResourceOrBuilder
      Returns:
      The bytes for cloudProduct.
    • getResourceType

      public String getResourceType()
       Example: `compute.googleapis.com/Disk`
       
      string resource_type = 3;
      Specified by:
      getResourceType in interface ProtectedResourceOrBuilder
      Returns:
      The resourceType.
    • getResourceTypeBytes

      public com.google.protobuf.ByteString getResourceTypeBytes()
       Example: `compute.googleapis.com/Disk`
       
      string resource_type = 3;
      Specified by:
      getResourceTypeBytes in interface ProtectedResourceOrBuilder
      Returns:
      The bytes for resourceType.
    • getLocation

      public String getLocation()
       Location can be `global`, regional like `us-east1`, or zonal like
       `us-west1-b`.
       
      string location = 4;
      Specified by:
      getLocation in interface ProtectedResourceOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Location can be `global`, regional like `us-east1`, or zonal like
       `us-west1-b`.
       
      string location = 4;
      Specified by:
      getLocationBytes in interface ProtectedResourceOrBuilder
      Returns:
      The bytes for location.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ProtectedResourceOrBuilder
       A key-value pair of the resource's labels (v1) to their values.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsCount in interface ProtectedResourceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       A key-value pair of the resource's labels (v1) to their values.
       
      map<string, string> labels = 5;
      Specified by:
      containsLabels in interface ProtectedResourceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ProtectedResourceOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       A key-value pair of the resource's labels (v1) to their values.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsMap in interface ProtectedResourceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       A key-value pair of the resource's labels (v1) to their values.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrDefault in interface ProtectedResourceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       A key-value pair of the resource's labels (v1) to their values.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrThrow in interface ProtectedResourceOrBuilder
    • getCryptoKeyVersion

      public String getCryptoKeyVersion()
       The name of the Cloud KMS
       [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en)
       used to protect this resource via CMEK. This field is empty if the
       Google Cloud product owning the resource does not provide key version data
       to Asset Inventory. If there are multiple key versions protecting the
       resource, then this is same value as the first element of
       crypto_key_versions.
       
      string crypto_key_version = 6 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCryptoKeyVersion in interface ProtectedResourceOrBuilder
      Returns:
      The cryptoKeyVersion.
    • getCryptoKeyVersionBytes

      public com.google.protobuf.ByteString getCryptoKeyVersionBytes()
       The name of the Cloud KMS
       [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en)
       used to protect this resource via CMEK. This field is empty if the
       Google Cloud product owning the resource does not provide key version data
       to Asset Inventory. If there are multiple key versions protecting the
       resource, then this is same value as the first element of
       crypto_key_versions.
       
      string crypto_key_version = 6 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCryptoKeyVersionBytes in interface ProtectedResourceOrBuilder
      Returns:
      The bytes for cryptoKeyVersion.
    • getCryptoKeyVersionsList

      public com.google.protobuf.ProtocolStringList getCryptoKeyVersionsList()
       The names of the Cloud KMS
       [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en)
       used to protect this resource via CMEK. This field is empty if the
       Google Cloud product owning the resource does not provide key versions data
       to Asset Inventory. The first element of this field is stored in
       crypto_key_version.
       
      repeated string crypto_key_versions = 10 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCryptoKeyVersionsList in interface ProtectedResourceOrBuilder
      Returns:
      A list containing the cryptoKeyVersions.
    • getCryptoKeyVersionsCount

      public int getCryptoKeyVersionsCount()
       The names of the Cloud KMS
       [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en)
       used to protect this resource via CMEK. This field is empty if the
       Google Cloud product owning the resource does not provide key versions data
       to Asset Inventory. The first element of this field is stored in
       crypto_key_version.
       
      repeated string crypto_key_versions = 10 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCryptoKeyVersionsCount in interface ProtectedResourceOrBuilder
      Returns:
      The count of cryptoKeyVersions.
    • getCryptoKeyVersions

      public String getCryptoKeyVersions(int index)
       The names of the Cloud KMS
       [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en)
       used to protect this resource via CMEK. This field is empty if the
       Google Cloud product owning the resource does not provide key versions data
       to Asset Inventory. The first element of this field is stored in
       crypto_key_version.
       
      repeated string crypto_key_versions = 10 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCryptoKeyVersions in interface ProtectedResourceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The cryptoKeyVersions at the given index.
    • getCryptoKeyVersionsBytes

      public com.google.protobuf.ByteString getCryptoKeyVersionsBytes(int index)
       The names of the Cloud KMS
       [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en)
       used to protect this resource via CMEK. This field is empty if the
       Google Cloud product owning the resource does not provide key versions data
       to Asset Inventory. The first element of this field is stored in
       crypto_key_version.
       
      repeated string crypto_key_versions = 10 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCryptoKeyVersionsBytes in interface ProtectedResourceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the cryptoKeyVersions at the given index.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which this resource was created. The granularity
       is in seconds. Timestamp.nanos will always be 0.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ProtectedResourceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which this resource was created. The granularity
       is in seconds. Timestamp.nanos will always be 0.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ProtectedResourceOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which this resource was created. The granularity
       is in seconds. Timestamp.nanos will always be 0.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ProtectedResourceOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ProtectedResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtectedResource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtectedResource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtectedResource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtectedResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtectedResource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtectedResource parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtectedResource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProtectedResource parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProtectedResource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtectedResource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtectedResource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ProtectedResource.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ProtectedResource.Builder newBuilder()
    • newBuilder

      public static ProtectedResource.Builder newBuilder(ProtectedResource prototype)
    • toBuilder

      public ProtectedResource.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ProtectedResource.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ProtectedResource getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProtectedResource> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProtectedResource> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ProtectedResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder