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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourceProperties build()
Returns
buildPartial()
public ResourceProperties buildPartial()
Returns
clear()
public ResourceProperties.Builder clear()
Returns
Overrides
clearExcludesDescendants()
public ResourceProperties.Builder clearExcludesDescendants()
Whether an approval will exclude the descendants of the resource being
requested.
bool excludes_descendants = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ResourceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ResourceProperties.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResourceProperties getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResourceProperties other)
public ResourceProperties.Builder mergeFrom(ResourceProperties other)
Parameter
Returns
public ResourceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourceProperties.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides