public static final class ResourceProperties.Builder extends GeneratedMessageV3.Builder<ResourceProperties.Builder> implements ResourcePropertiesOrBuilder
The properties associated with the resource of the request.
Protobuf type google.cloud.accessapproval.v1.ResourceProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceProperties.BuilderImplements
ResourcePropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourceProperties.Builder |
build()
public ResourceProperties build()
Type | Description |
ResourceProperties |
buildPartial()
public ResourceProperties buildPartial()
Type | Description |
ResourceProperties |
clear()
public ResourceProperties.Builder clear()
Type | Description |
ResourceProperties.Builder |
clearExcludesDescendants()
public ResourceProperties.Builder clearExcludesDescendants()
Whether an approval will exclude the descendants of the resource being requested.
bool excludes_descendants = 1;
Type | Description |
ResourceProperties.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ResourceProperties.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ResourceProperties.Builder |
clone()
public ResourceProperties.Builder clone()
Type | Description |
ResourceProperties.Builder |
getDefaultInstanceForType()
public ResourceProperties getDefaultInstanceForType()
Type | Description |
ResourceProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExcludesDescendants()
public boolean getExcludesDescendants()
Whether an approval will exclude the descendants of the resource being requested.
bool excludes_descendants = 1;
Type | Description |
boolean | The excludesDescendants. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ResourceProperties other)
public ResourceProperties.Builder mergeFrom(ResourceProperties other)
Name | Description |
other | ResourceProperties |
Type | Description |
ResourceProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResourceProperties.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ResourceProperties.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ResourceProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourceProperties.Builder |
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;
Name | Description |
value | boolean The excludesDescendants to set. |
Type | Description |
ResourceProperties.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourceProperties.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ResourceProperties.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourceProperties.Builder |