Class Role (0.6.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.6.0keyboard_arrow_down
public final class Role extends GeneratedMessageV3 implements RoleOrBuilder
The Role resource.
Protobuf type google.ads.admanager.v1.Role
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
Static Methods
getDefaultInstance()
public static Role getDefaultInstance ()
Returns
Type
Description
Role
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Role . Builder newBuilder ()
newBuilder(Role prototype)
public static Role . Builder newBuilder ( Role prototype )
Parameter
Name
Description
prototype
Role
public static Role parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Role
public static Role parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Role
parseFrom(byte[] data)
public static Role parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Role
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Role parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Role
parseFrom(ByteString data)
public static Role parseFrom ( ByteString data )
Returns
Type
Description
Role
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Role parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Role
public static Role parseFrom ( CodedInputStream input )
Returns
Type
Description
Role
public static Role parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Role
public static Role parseFrom ( InputStream input )
Returns
Type
Description
Role
public static Role parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Role
parseFrom(ByteBuffer data)
public static Role parseFrom ( ByteBuffer data )
Returns
Type
Description
Role
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Role parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Role
parser()
public static Parser<Role> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Role getDefaultInstanceForType ()
Returns
Type
Description
Role
getName()
Identifier. The resource name of the Role.
Format: networks/{network_code}/roles/{role_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Identifier. The resource name of the Role.
Format: networks/{network_code}/roles/{role_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<Role> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Role . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Role . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Role . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["The page provides documentation for the `Role` resource within the Google Ad Manager API, specifically for the Java programming language."],["It lists various versions of the `Role` resource documentation, ranging from version 0.1.0 up to the latest version 0.19.0, with an additional listing for the version the page is for, 0.6.0."],["The `Role` class is defined as a subclass of `GeneratedMessageV3`, and it implements the `RoleOrBuilder` interface."],["The page details the `Role` class's static fields, static methods, inherited members, and methods, providing a comprehensive reference for developers using this resource."],["The resource name of the Role class is `networks/{network_code}/roles/{role_id}`."]]],[]]