- 2.62.0 (latest)
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class ResourceInfo.Builder extends GeneratedMessageV3.Builder<ResourceInfo.Builder> implements ResourceInfoOrBuilderDescribes the resource that is being accessed.
Protobuf type google.rpc.ResourceInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceInfo.BuilderImplements
ResourceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ResourceInfo.Builder |
build()
public ResourceInfo build()| Type | Description |
| ResourceInfo |
buildPartial()
public ResourceInfo buildPartial()| Type | Description |
| ResourceInfo |
clear()
public ResourceInfo.Builder clear()| Type | Description |
| ResourceInfo.Builder |
clearDescription()
public ResourceInfo.Builder clearDescription() Describes what error is encountered when accessing this resource.
For example, updating a cloud project may require the writer permission
on the developer console project.
string description = 4;
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourceInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ResourceInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ResourceInfo.Builder |
clearOwner()
public ResourceInfo.Builder clearOwner()The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".
string owner = 3;
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
clearResourceName()
public ResourceInfo.Builder clearResourceName()The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.
string resource_name = 2;
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
clearResourceType()
public ResourceInfo.Builder clearResourceType()A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
string resource_type = 1;
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
clone()
public ResourceInfo.Builder clone()| Type | Description |
| ResourceInfo.Builder |
getDefaultInstanceForType()
public ResourceInfo getDefaultInstanceForType()| Type | Description |
| ResourceInfo |
getDescription()
public String getDescription() Describes what error is encountered when accessing this resource.
For example, updating a cloud project may require the writer permission
on the developer console project.
string description = 4;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes() Describes what error is encountered when accessing this resource.
For example, updating a cloud project may require the writer permission
on the developer console project.
string description = 4;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getOwner()
public String getOwner()The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".
string owner = 3;
| Type | Description |
| String | The owner. |
getOwnerBytes()
public ByteString getOwnerBytes()The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".
string owner = 3;
| Type | Description |
| ByteString | The bytes for owner. |
getResourceName()
public String getResourceName()The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.
string resource_name = 2;
| Type | Description |
| String | The resourceName. |
getResourceNameBytes()
public ByteString getResourceNameBytes()The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.
string resource_name = 2;
| Type | Description |
| ByteString | The bytes for resourceName. |
getResourceType()
public String getResourceType()A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
string resource_type = 1;
| Type | Description |
| String | The resourceType. |
getResourceTypeBytes()
public ByteString getResourceTypeBytes()A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
string resource_type = 1;
| Type | Description |
| ByteString | The bytes for resourceType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ResourceInfo.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ResourceInfo.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ResourceInfo.Builder |
mergeFrom(ResourceInfo other)
public ResourceInfo.Builder mergeFrom(ResourceInfo other)| Name | Description |
| other | ResourceInfo |
| Type | Description |
| ResourceInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ResourceInfo.Builder |
setDescription(String value)
public ResourceInfo.Builder setDescription(String value) Describes what error is encountered when accessing this resource.
For example, updating a cloud project may require the writer permission
on the developer console project.
string description = 4;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public ResourceInfo.Builder setDescriptionBytes(ByteString value) Describes what error is encountered when accessing this resource.
For example, updating a cloud project may require the writer permission
on the developer console project.
string description = 4;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ResourceInfo.Builder |
setOwner(String value)
public ResourceInfo.Builder setOwner(String value)The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".
string owner = 3;
| Name | Description |
| value | StringThe owner to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setOwnerBytes(ByteString value)
public ResourceInfo.Builder setOwnerBytes(ByteString value)The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".
string owner = 3;
| Name | Description |
| value | ByteStringThe bytes for owner to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ResourceInfo.Builder |
setResourceName(String value)
public ResourceInfo.Builder setResourceName(String value)The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.
string resource_name = 2;
| Name | Description |
| value | StringThe resourceName to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setResourceNameBytes(ByteString value)
public ResourceInfo.Builder setResourceNameBytes(ByteString value)The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.
string resource_name = 2;
| Name | Description |
| value | ByteStringThe bytes for resourceName to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setResourceType(String value)
public ResourceInfo.Builder setResourceType(String value)A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
string resource_type = 1;
| Name | Description |
| value | StringThe resourceType to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setResourceTypeBytes(ByteString value)
public ResourceInfo.Builder setResourceTypeBytes(ByteString value)A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
string resource_type = 1;
| Name | Description |
| value | ByteStringThe bytes for resourceType to set. |
| Type | Description |
| ResourceInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ResourceInfo.Builder |