Class ProtectedResource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class ProtectedResource extends com.google.protobuf.GeneratedMessageV3 implements ProtectedResourceOrBuilder
Metadata about a resource protected by a Cloud KMS key.
Protobuf typegoogle.cloud.kms.inventory.v1.ProtectedResource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProtectedResource.Builder
Metadata about a resource protected by a Cloud KMS key.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CLOUD_PRODUCT_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
CRYPTO_KEY_VERSION_FIELD_NUMBER
static int
CRYPTO_KEY_VERSIONS_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LOCATION_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PROJECT_FIELD_NUMBER
static int
PROJECT_ID_FIELD_NUMBER
static int
RESOURCE_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
A key-value pair of the resource's labels (v1) to their values.boolean
equals(Object obj)
String
getCloudProduct()
The Cloud product that owns the resource.com.google.protobuf.ByteString
getCloudProductBytes()
The Cloud product that owns the resource.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.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.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.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.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.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.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.static ProtectedResource
getDefaultInstance()
ProtectedResource
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
A key-value pair of the resource's labels (v1) to their values.Map<String,String>
getLabelsMap()
A key-value pair of the resource's labels (v1) to their values.String
getLabelsOrDefault(String key, String defaultValue)
A key-value pair of the resource's labels (v1) to their values.String
getLabelsOrThrow(String key)
A key-value pair of the resource's labels (v1) to their values.String
getLocation()
Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.com.google.protobuf.ByteString
getLocationBytes()
Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.String
getName()
The full resource name of the resource.com.google.protobuf.ByteString
getNameBytes()
The full resource name of the resource.com.google.protobuf.Parser<ProtectedResource>
getParserForType()
String
getProject()
Format: `projects/{PROJECT_NUMBER}`.com.google.protobuf.ByteString
getProjectBytes()
Format: `projects/{PROJECT_NUMBER}`.String
getProjectId()
The ID of the project that owns the resource.com.google.protobuf.ByteString
getProjectIdBytes()
The ID of the project that owns the resource.String
getResourceType()
Example: `compute.googleapis.com/Disk`com.google.protobuf.ByteString
getResourceTypeBytes()
Example: `compute.googleapis.com/Disk`int
getSerializedSize()
boolean
hasCreateTime()
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static ProtectedResource.Builder
newBuilder()
static ProtectedResource.Builder
newBuilder(ProtectedResource prototype)
ProtectedResource.Builder
newBuilderForType()
protected ProtectedResource.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ProtectedResource
parseDelimitedFrom(InputStream input)
static ProtectedResource
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProtectedResource
parseFrom(byte[] data)
static ProtectedResource
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProtectedResource
parseFrom(com.google.protobuf.ByteString data)
static ProtectedResource
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProtectedResource
parseFrom(com.google.protobuf.CodedInputStream input)
static ProtectedResource
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProtectedResource
parseFrom(InputStream input)
static ProtectedResource
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProtectedResource
parseFrom(ByteBuffer data)
static ProtectedResource
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ProtectedResource>
parser()
ProtectedResource.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_PRODUCT_FIELD_NUMBER
public static final int CLOUD_PRODUCT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CRYPTO_KEY_VERSION_FIELD_NUMBER
public static final int CRYPTO_KEY_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CRYPTO_KEY_VERSIONS_FIELD_NUMBER
public static final int CRYPTO_KEY_VERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- Returns:
- The bytes for name.
-
getProject
public String getProject()
Format: `projects/{PROJECT_NUMBER}`.
string project = 2;
- Specified by:
getProject
in interfaceProtectedResourceOrBuilder
- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Format: `projects/{PROJECT_NUMBER}`.
string project = 2;
- Specified by:
getProjectBytes
in interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- Returns:
- The bytes for cloudProduct.
-
getResourceType
public String getResourceType()
Example: `compute.googleapis.com/Disk`
string resource_type = 3;
- Specified by:
getResourceType
in interfaceProtectedResourceOrBuilder
- Returns:
- The resourceType.
-
getResourceTypeBytes
public com.google.protobuf.ByteString getResourceTypeBytes()
Example: `compute.googleapis.com/Disk`
string resource_type = 3;
- Specified by:
getResourceTypeBytes
in interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
-
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 interfaceProtectedResourceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceProtectedResourceOrBuilder
-
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 interfaceProtectedResourceOrBuilder
-
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 interfaceProtectedResourceOrBuilder
-
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 interfaceProtectedResourceOrBuilder
-
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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
- 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 interfaceProtectedResourceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ProtectedResource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ProtectedResource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-