public static final class ConditionContext.Resource extends GeneratedMessageV3 implements ConditionContext.ResourceOrBuilder
Core attributes for a resource. A resource is an
addressable (named) entity provided by the destination service. For
example, a Compute Engine instance.
Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConditionContext.Resource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConditionContext.Resource.Builder newBuilder()
newBuilder(ConditionContext.Resource prototype)
public static ConditionContext.Resource.Builder newBuilder(ConditionContext.Resource prototype)
parseDelimitedFrom(InputStream input)
public static ConditionContext.Resource parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConditionContext.Resource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConditionContext.Resource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConditionContext.Resource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConditionContext.Resource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConditionContext.Resource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ConditionContext.Resource parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConditionContext.Resource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ConditionContext.Resource parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConditionContext.Resource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConditionContext.Resource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConditionContext.Resource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConditionContext.Resource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ConditionContext.Resource getDefaultInstanceForType()
getName()
The stable identifier (name) of a resource on the service
. A resource
can be logically identified as //{resource.service}/{resource.name}
.
Unlike the resource URI, the resource name doesn't contain any protocol
and version information.
For a list of full resource name formats, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names
string name = 2;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The stable identifier (name) of a resource on the service
. A resource
can be logically identified as //{resource.service}/{resource.name}
.
Unlike the resource URI, the resource name doesn't contain any protocol
and version information.
For a list of full resource name formats, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names
string name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<ConditionContext.Resource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getService()
public String getService()
Returns |
Type |
Description |
String |
The service.
|
getServiceBytes()
public ByteString getServiceBytes()
Returns |
Type |
Description |
ByteString |
The bytes for service.
|
getType()
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConditionContext.Resource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConditionContext.Resource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConditionContext.Resource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides