Class ResourceOwners (3.66.0)

public final class ResourceOwners extends GeneratedMessageV3 implements ResourceOwnersOrBuilder

The resource owners information.

Protobuf type google.cloud.asset.v1.ResourceOwners

Static Fields

RESOURCE_OWNERS_FIELD_NUMBER

public static final int RESOURCE_OWNERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceOwners getDefaultInstance()
Returns
Type Description
ResourceOwners

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ResourceOwners.Builder newBuilder()
Returns
Type Description
ResourceOwners.Builder

newBuilder(ResourceOwners prototype)

public static ResourceOwners.Builder newBuilder(ResourceOwners prototype)
Parameter
Name Description
prototype ResourceOwners
Returns
Type Description
ResourceOwners.Builder

parseDelimitedFrom(InputStream input)

public static ResourceOwners parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceOwners
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceOwners parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceOwners
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ResourceOwners parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResourceOwners
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceOwners parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceOwners
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceOwners parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceOwners
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceOwners parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceOwners
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceOwners parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceOwners
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceOwners parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceOwners
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ResourceOwners parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceOwners
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceOwners parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceOwners
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ResourceOwners parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceOwners
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceOwners parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceOwners
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ResourceOwners> parser()
Returns
Type Description
Parser<ResourceOwners>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ResourceOwners getDefaultInstanceForType()
Returns
Type Description
ResourceOwners

getParserForType()

public Parser<ResourceOwners> getParserForType()
Returns
Type Description
Parser<ResourceOwners>
Overrides

getResourceOwners(int index)

public String getResourceOwners(int index)

List of resource owners.

repeated string resource_owners = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The resourceOwners at the given index.

getResourceOwnersBytes(int index)

public ByteString getResourceOwnersBytes(int index)

List of resource owners.

repeated string resource_owners = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the resourceOwners at the given index.

getResourceOwnersCount()

public int getResourceOwnersCount()

List of resource owners.

repeated string resource_owners = 1;

Returns
Type Description
int

The count of resourceOwners.

getResourceOwnersList()

public ProtocolStringList getResourceOwnersList()

List of resource owners.

repeated string resource_owners = 1;

Returns
Type Description
ProtocolStringList

A list containing the resourceOwners.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResourceOwners.Builder newBuilderForType()
Returns
Type Description
ResourceOwners.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourceOwners.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourceOwners.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ResourceOwners.Builder toBuilder()
Returns
Type Description
ResourceOwners.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException