Class ResourceProperties.Builder (2.84.0)

public static final class ResourceProperties.Builder extends GeneratedMessage.Builder<ResourceProperties.Builder> implements ResourcePropertiesOrBuilder

The properties associated with the resource of the request.

Protobuf type google.cloud.accessapproval.v1.ResourceProperties

Static Methods

getDescriptor()

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

Methods

build()

public ResourceProperties build()
Returns
Type Description
ResourceProperties

buildPartial()

public ResourceProperties buildPartial()
Returns
Type Description
ResourceProperties

clear()

public ResourceProperties.Builder clear()
Returns
Type Description
ResourceProperties.Builder
Overrides

clearExcludesDescendants()

public ResourceProperties.Builder clearExcludesDescendants()

Whether an approval will exclude the descendants of the resource being requested.

bool excludes_descendants = 1;

Returns
Type Description
ResourceProperties.Builder

This builder for chaining.

getDefaultInstanceForType()

public ResourceProperties getDefaultInstanceForType()
Returns
Type Description
ResourceProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExcludesDescendants()

public boolean getExcludesDescendants()

Whether an approval will exclude the descendants of the resource being requested.

bool excludes_descendants = 1;

Returns
Type Description
boolean

The excludesDescendants.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceProperties other)

public ResourceProperties.Builder mergeFrom(ResourceProperties other)
Parameter
Name Description
other ResourceProperties
Returns
Type Description
ResourceProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourceProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourceProperties.Builder
Overrides

setExcludesDescendants(boolean value)

public ResourceProperties.Builder setExcludesDescendants(boolean value)

Whether an approval will exclude the descendants of the resource being requested.

bool excludes_descendants = 1;

Parameter
Name Description
value boolean

The excludesDescendants to set.

Returns
Type Description
ResourceProperties.Builder

This builder for chaining.