public final class Policy extends GeneratedMessageV3 implements PolicyOrBuilder
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PolicyImplements
PolicyOrBuilderStatic Fields
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MANAGING_AUTHORITY_FIELD_NUMBER
public static final int MANAGING_AUTHORITY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RULES_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Policy getDefaultInstance()
Returns | |
---|---|
Type | Description |
Policy |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Policy.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Builder |
newBuilder(Policy arg0)
public static Policy.Builder newBuilder(Policy arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Policy |
Returns | |
---|---|
Type | Description |
Builder |
parseDelimitedFrom(InputStream arg0)
public static Policy parseDelimitedFrom(InputStream arg0)
Parameter | |
---|---|
Name | Description |
arg0 | InputStream |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
public static Policy parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters | |
---|---|
Name | Description |
arg0 | InputStream |
arg1 | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] arg0)
public static Policy parseFrom(byte[] arg0)
Parameter | |
---|---|
Name | Description |
arg0 | byte[] |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters | |
---|---|
Name | Description |
arg0 | byte[] |
arg1 | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString arg0)
public static Policy parseFrom(ByteString arg0)
Parameter | |
---|---|
Name | Description |
arg0 | ByteString |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters | |
---|---|
Name | Description |
arg0 | ByteString |
arg1 | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream arg0)
public static Policy parseFrom(CodedInputStream arg0)
Parameter | |
---|---|
Name | Description |
arg0 | CodedInputStream |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters | |
---|---|
Name | Description |
arg0 | CodedInputStream |
arg1 | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream arg0)
public static Policy parseFrom(InputStream arg0)
Parameter | |
---|---|
Name | Description |
arg0 | InputStream |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters | |
---|---|
Name | Description |
arg0 | InputStream |
arg1 | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer arg0)
public static Policy parseFrom(ByteBuffer arg0)
Parameter | |
---|---|
Name | Description |
arg0 | ByteBuffer |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters | |
---|---|
Name | Description |
arg0 | ByteBuffer |
arg1 | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Policy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Policy> parser()
Returns | |
---|---|
Type | Description |
Parser<Policy> |
Methods
containsAnnotations(String arg0)
public boolean containsAnnotations(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object arg0)
public boolean equals(Object arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String arg0, String arg1)
public String getAnnotationsOrDefault(String arg0, String arg1)
Parameters | |
---|---|
Name | Description |
arg0 | String |
arg1 | String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String arg0)
public String getAnnotationsOrThrow(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
String |
getCreateTime()
public Timestamp getCreateTime()
Returns | |
---|---|
Type | Description |
Timestamp |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Policy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Policy |
getDeleteTime()
public Timestamp getDeleteTime()
Returns | |
---|---|
Type | Description |
Timestamp |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDisplayName()
public String getDisplayName()
Returns | |
---|---|
Type | Description |
String |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getEtag()
public String getEtag()
Returns | |
---|---|
Type | Description |
String |
getEtagBytes()
public ByteString getEtagBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getKind()
public String getKind()
Returns | |
---|---|
Type | Description |
String |
getKindBytes()
public ByteString getKindBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getManagingAuthority()
public String getManagingAuthority()
Returns | |
---|---|
Type | Description |
String |
getManagingAuthorityBytes()
public ByteString getManagingAuthorityBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getName()
public String getName()
Returns | |
---|---|
Type | Description |
String |
getNameBytes()
public ByteString getNameBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getParserForType()
public Parser<Policy> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Policy> |
getRules(int arg0)
public PolicyRule getRules(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
PolicyRule |
getRulesCount()
public int getRulesCount()
Returns | |
---|---|
Type | Description |
int |
getRulesList()
public List<PolicyRule> getRulesList()
Returns | |
---|---|
Type | Description |
List<PolicyRule> |
getRulesOrBuilder(int arg0)
public PolicyRuleOrBuilder getRulesOrBuilder(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
PolicyRuleOrBuilder |
getRulesOrBuilderList()
public List<? extends PolicyRuleOrBuilder> getRulesOrBuilderList()
Returns | |
---|---|
Type | Description |
List<? extends com.google.iam.v2.PolicyRuleOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUid()
public String getUid()
Returns | |
---|---|
Type | Description |
String |
getUidBytes()
public ByteString getUidBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getUpdateTime()
public Timestamp getUpdateTime()
Returns | |
---|---|
Type | Description |
Timestamp |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Returns | |
---|---|
Type | Description |
boolean |
hasDeleteTime()
public boolean hasDeleteTime()
Returns | |
---|---|
Type | Description |
boolean |
hasUpdateTime()
public boolean hasUpdateTime()
Returns | |
---|---|
Type | Description |
boolean |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int arg0)
protected MapField internalGetMapField(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Policy.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
protected Policy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
Parameter | |
---|---|
Name | Description |
arg0 | BuilderParent |
Returns | |
---|---|
Type | Description |
Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
Parameter | |
---|---|
Name | Description |
arg0 | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Policy.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Builder |
writeTo(CodedOutputStream arg0)
public void writeTo(CodedOutputStream arg0)
Parameter | |
---|---|
Name | Description |
arg0 | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |