public static final class ResourceOwners.Builder extends GeneratedMessage.Builder<ResourceOwners.Builder> implements ResourceOwnersOrBuilderThe resource owners information.
Protobuf type google.cloud.asset.v1.ResourceOwners
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResourceOwners.BuilderImplements
ResourceOwnersOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllResourceOwners(Iterable<String> values)
public ResourceOwners.Builder addAllResourceOwners(Iterable<String> values)List of resource owners.
repeated string resource_owners = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The resourceOwners to add. |
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
This builder for chaining. |
addResourceOwners(String value)
public ResourceOwners.Builder addResourceOwners(String value)List of resource owners.
repeated string resource_owners = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceOwners to add. |
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
This builder for chaining. |
addResourceOwnersBytes(ByteString value)
public ResourceOwners.Builder addResourceOwnersBytes(ByteString value)List of resource owners.
repeated string resource_owners = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the resourceOwners to add. |
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
This builder for chaining. |
build()
public ResourceOwners build()| Returns | |
|---|---|
| Type | Description |
ResourceOwners |
|
buildPartial()
public ResourceOwners buildPartial()| Returns | |
|---|---|
| Type | Description |
ResourceOwners |
|
clear()
public ResourceOwners.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
|
clearResourceOwners()
public ResourceOwners.Builder clearResourceOwners()List of resource owners.
repeated string resource_owners = 1;
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ResourceOwners getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceOwners |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getResourceOwners(int index)
public String getResourceOwners(int index)List of resource owners.
repeated string resource_owners = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ResourceOwners other)
public ResourceOwners.Builder mergeFrom(ResourceOwners other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceOwners |
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceOwners.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResourceOwners.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
|
setResourceOwners(int index, String value)
public ResourceOwners.Builder setResourceOwners(int index, String value)List of resource owners.
repeated string resource_owners = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe resourceOwners to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceOwners.Builder |
This builder for chaining. |