public static final class Folder.Builder extends GeneratedMessageV3.Builder<Folder.Builder> implements FolderOrBuilder
Message that contains the resource name and display name of a folder resource.Protobuf type
google.cloud.securitycenter.v1.Folder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Folder.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Folder build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Folder buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Folder.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Folder.Builder>
public Folder.Builder mergeFrom(Folder other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Folder.Builder>
public Folder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Folder.Builder>
IOException
public String getResourceFolder()
Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_folder = 1;
getResourceFolder
in interface FolderOrBuilder
public ByteString getResourceFolderBytes()
Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_folder = 1;
getResourceFolderBytes
in interface FolderOrBuilder
public Folder.Builder setResourceFolder(String value)
Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_folder = 1;
value
- The resourceFolder to set.public Folder.Builder clearResourceFolder()
Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_folder = 1;
public Folder.Builder setResourceFolderBytes(ByteString value)
Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_folder = 1;
value
- The bytes for resourceFolder to set.public String getResourceFolderDisplayName()
The user defined display name for this folder.
string resource_folder_display_name = 2;
getResourceFolderDisplayName
in interface FolderOrBuilder
public ByteString getResourceFolderDisplayNameBytes()
The user defined display name for this folder.
string resource_folder_display_name = 2;
getResourceFolderDisplayNameBytes
in interface FolderOrBuilder
public Folder.Builder setResourceFolderDisplayName(String value)
The user defined display name for this folder.
string resource_folder_display_name = 2;
value
- The resourceFolderDisplayName to set.public Folder.Builder clearResourceFolderDisplayName()
The user defined display name for this folder.
string resource_folder_display_name = 2;
public Folder.Builder setResourceFolderDisplayNameBytes(ByteString value)
The user defined display name for this folder.
string resource_folder_display_name = 2;
value
- The bytes for resourceFolderDisplayName to set.public final Folder.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Folder.Builder>
public final Folder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Folder.Builder>
Copyright © 2022 Google LLC. All rights reserved.