Class Policy (1.21.0)

public final class Policy extends GeneratedMessageV3 implements PolicyOrBuilder

Implements

PolicyOrBuilder

Static Fields

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_TIME_FIELD_NUMBER

public static final int DELETE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ETAG_FIELD_NUMBER

public static final int ETAG_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

RULES_FIELD_NUMBER

public static final int RULES_FIELD_NUMBER
Field Value
TypeDescription
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Policy getDefaultInstance()
Returns
TypeDescription
Policy

getDescriptor()

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

newBuilder()

public static Policy.Builder newBuilder()
Returns
TypeDescription
Builder

newBuilder(Policy arg0)

public static Policy.Builder newBuilder(Policy arg0)
Parameter
NameDescription
arg0Policy
Returns
TypeDescription
Builder

parseDelimitedFrom(InputStream arg0)

public static Policy parseDelimitedFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
Policy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static Policy parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Policy
Exceptions
TypeDescription
IOException

parseFrom(byte[] arg0)

public static Policy parseFrom(byte[] arg0)
Parameter
NameDescription
arg0byte[]
Returns
TypeDescription
Policy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] arg0, ExtensionRegistryLite arg1)

public static Policy parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0byte[]
arg1ExtensionRegistryLite
Returns
TypeDescription
Policy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0)

public static Policy parseFrom(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Policy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0, ExtensionRegistryLite arg1)

public static Policy parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteString
arg1ExtensionRegistryLite
Returns
TypeDescription
Policy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream arg0)

public static Policy parseFrom(CodedInputStream arg0)
Parameter
NameDescription
arg0CodedInputStream
Returns
TypeDescription
Policy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public static Policy parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0CodedInputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Policy
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0)

public static Policy parseFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
Policy
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static Policy parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Policy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer arg0)

public static Policy parseFrom(ByteBuffer arg0)
Parameter
NameDescription
arg0ByteBuffer
Returns
TypeDescription
Policy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)

public static Policy parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteBuffer
arg1ExtensionRegistryLite
Returns
TypeDescription
Policy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

containsAnnotations(String arg0)

public boolean containsAnnotations(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides

getAnnotations()

public Map<String,String> getAnnotations()
Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()
Returns
TypeDescription
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()
Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String arg0, String arg1)

public String getAnnotationsOrDefault(String arg0, String arg1)
Parameters
NameDescription
arg0String
arg1String
Returns
TypeDescription
String

getAnnotationsOrThrow(String arg0)

public String getAnnotationsOrThrow(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
String

getCreateTime()

public Timestamp getCreateTime()
Returns
TypeDescription
Timestamp

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()
Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Policy getDefaultInstanceForType()
Returns
TypeDescription
Policy

getDeleteTime()

public Timestamp getDeleteTime()
Returns
TypeDescription
Timestamp

getDeleteTimeOrBuilder()

public TimestampOrBuilder getDeleteTimeOrBuilder()
Returns
TypeDescription
TimestampOrBuilder

getDisplayName()

public String getDisplayName()
Returns
TypeDescription
String

getDisplayNameBytes()

public ByteString getDisplayNameBytes()
Returns
TypeDescription
ByteString

getEtag()

public String getEtag()
Returns
TypeDescription
String

getEtagBytes()

public ByteString getEtagBytes()
Returns
TypeDescription
ByteString

getKind()

public String getKind()
Returns
TypeDescription
String

getKindBytes()

public ByteString getKindBytes()
Returns
TypeDescription
ByteString

getName()

public String getName()
Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()
Returns
TypeDescription
ByteString

getParserForType()

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

getRules(int arg0)

public PolicyRule getRules(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
PolicyRule

getRulesCount()

public int getRulesCount()
Returns
TypeDescription
int

getRulesList()

public List<PolicyRule> getRulesList()
Returns
TypeDescription
List<PolicyRule>

getRulesOrBuilder(int arg0)

public PolicyRuleOrBuilder getRulesOrBuilder(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
PolicyRuleOrBuilder

getRulesOrBuilderList()

public List<? extends PolicyRuleOrBuilder> getRulesOrBuilderList()
Returns
TypeDescription
List<? extends com.google.iam.v2beta.PolicyRuleOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUid()

public String getUid()
Returns
TypeDescription
String

getUidBytes()

public ByteString getUidBytes()
Returns
TypeDescription
ByteString

getUpdateTime()

public Timestamp getUpdateTime()
Returns
TypeDescription
Timestamp

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()
Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()
Returns
TypeDescription
boolean

hasDeleteTime()

public boolean hasDeleteTime()
Returns
TypeDescription
boolean

hasUpdateTime()

public boolean hasUpdateTime()
Returns
TypeDescription
boolean

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int arg0)

protected MapField internalGetMapField(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Policy.Builder newBuilderForType()
Returns
TypeDescription
Builder

newBuilderForType(GeneratedMessageV3.BuilderParent arg0)

protected Policy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
Parameter
NameDescription
arg0BuilderParent
Returns
TypeDescription
Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
Parameter
NameDescription
arg0UnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Policy.Builder toBuilder()
Returns
TypeDescription
Builder

writeTo(CodedOutputStream arg0)

public void writeTo(CodedOutputStream arg0)
Parameter
NameDescription
arg0CodedOutputStream
Overrides
Exceptions
TypeDescription
IOException