- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class GcpMetadata.Builder extends GeneratedMessageV3.Builder<GcpMetadata.Builder> implements GcpMetadataOrBuilder
GCP metadata associated with the resource, only applicable if the finding's cloud provider is Google Cloud Platform.
Protobuf type google.cloud.securitycenter.v2.GcpMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GcpMetadata.BuilderImplements
GcpMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFolders(Iterable<? extends Folder> values)
public GcpMetadata.Builder addAllFolders(Iterable<? extends Folder> values)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.Folder> |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
addFolders(Folder value)
public GcpMetadata.Builder addFolders(Folder value)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Folder |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
addFolders(Folder.Builder builderForValue)
public GcpMetadata.Builder addFolders(Folder.Builder builderForValue)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Folder.Builder |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
addFolders(int index, Folder value)
public GcpMetadata.Builder addFolders(int index, Folder value)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Folder |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
addFolders(int index, Folder.Builder builderForValue)
public GcpMetadata.Builder addFolders(int index, Folder.Builder builderForValue)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Folder.Builder |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
addFoldersBuilder()
public Folder.Builder addFoldersBuilder()
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Folder.Builder |
addFoldersBuilder(int index)
public Folder.Builder addFoldersBuilder(int index)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Folder.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcpMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
build()
public GcpMetadata build()
Returns | |
---|---|
Type | Description |
GcpMetadata |
buildPartial()
public GcpMetadata buildPartial()
Returns | |
---|---|
Type | Description |
GcpMetadata |
clear()
public GcpMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public GcpMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
clearFolders()
public GcpMetadata.Builder clearFolders()
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GcpMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
clearOrganization()
public GcpMetadata.Builder clearOrganization()
The name of the organization that the resource belongs to.
string organization = 6;
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
clearParent()
public GcpMetadata.Builder clearParent()
The full resource name of resource's parent.
string parent = 3;
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
clearParentDisplayName()
public GcpMetadata.Builder clearParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 4;
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
clearProject()
public GcpMetadata.Builder clearProject()
The full resource name of project that the resource belongs to.
string project = 1;
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
clearProjectDisplayName()
public GcpMetadata.Builder clearProjectDisplayName()
The project ID that the resource belongs to.
string project_display_name = 2;
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
clone()
public GcpMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
getDefaultInstanceForType()
public GcpMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GcpMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFolders(int index)
public Folder getFolders(int index)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Folder |
getFoldersBuilder(int index)
public Folder.Builder getFoldersBuilder(int index)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Folder.Builder |
getFoldersBuilderList()
public List<Folder.Builder> getFoldersBuilderList()
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getFoldersCount()
public int getFoldersCount()
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getFoldersList()
public List<Folder> getFoldersList()
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Folder> |
getFoldersOrBuilder(int index)
public FolderOrBuilder getFoldersOrBuilder(int index)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FolderOrBuilder |
getFoldersOrBuilderList()
public List<? extends FolderOrBuilder> getFoldersOrBuilderList()
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.FolderOrBuilder> |
getOrganization()
public String getOrganization()
The name of the organization that the resource belongs to.
string organization = 6;
Returns | |
---|---|
Type | Description |
String |
The organization. |
getOrganizationBytes()
public ByteString getOrganizationBytes()
The name of the organization that the resource belongs to.
string organization = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for organization. |
getParent()
public String getParent()
The full resource name of resource's parent.
string parent = 3;
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
The full resource name of resource's parent.
string parent = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getParentDisplayName()
public String getParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 4;
Returns | |
---|---|
Type | Description |
String |
The parentDisplayName. |
getParentDisplayNameBytes()
public ByteString getParentDisplayNameBytes()
The human readable name of resource's parent.
string parent_display_name = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parentDisplayName. |
getProject()
public String getProject()
The full resource name of project that the resource belongs to.
string project = 1;
Returns | |
---|---|
Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()
The full resource name of project that the resource belongs to.
string project = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for project. |
getProjectDisplayName()
public String getProjectDisplayName()
The project ID that the resource belongs to.
string project_display_name = 2;
Returns | |
---|---|
Type | Description |
String |
The projectDisplayName. |
getProjectDisplayNameBytes()
public ByteString getProjectDisplayNameBytes()
The project ID that the resource belongs to.
string project_display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for projectDisplayName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GcpMetadata other)
public GcpMetadata.Builder mergeFrom(GcpMetadata other)
Parameter | |
---|---|
Name | Description |
other |
GcpMetadata |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcpMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GcpMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcpMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
removeFolders(int index)
public GcpMetadata.Builder removeFolders(int index)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GcpMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
setFolders(int index, Folder value)
public GcpMetadata.Builder setFolders(int index, Folder value)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Folder |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
setFolders(int index, Folder.Builder builderForValue)
public GcpMetadata.Builder setFolders(int index, Folder.Builder builderForValue)
Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Folder.Builder |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
setOrganization(String value)
public GcpMetadata.Builder setOrganization(String value)
The name of the organization that the resource belongs to.
string organization = 6;
Parameter | |
---|---|
Name | Description |
value |
String The organization to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setOrganizationBytes(ByteString value)
public GcpMetadata.Builder setOrganizationBytes(ByteString value)
The name of the organization that the resource belongs to.
string organization = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for organization to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setParent(String value)
public GcpMetadata.Builder setParent(String value)
The full resource name of resource's parent.
string parent = 3;
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public GcpMetadata.Builder setParentBytes(ByteString value)
The full resource name of resource's parent.
string parent = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setParentDisplayName(String value)
public GcpMetadata.Builder setParentDisplayName(String value)
The human readable name of resource's parent.
string parent_display_name = 4;
Parameter | |
---|---|
Name | Description |
value |
String The parentDisplayName to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setParentDisplayNameBytes(ByteString value)
public GcpMetadata.Builder setParentDisplayNameBytes(ByteString value)
The human readable name of resource's parent.
string parent_display_name = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parentDisplayName to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setProject(String value)
public GcpMetadata.Builder setProject(String value)
The full resource name of project that the resource belongs to.
string project = 1;
Parameter | |
---|---|
Name | Description |
value |
String The project to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GcpMetadata.Builder setProjectBytes(ByteString value)
The full resource name of project that the resource belongs to.
string project = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for project to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setProjectDisplayName(String value)
public GcpMetadata.Builder setProjectDisplayName(String value)
The project ID that the resource belongs to.
string project_display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
String The projectDisplayName to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setProjectDisplayNameBytes(ByteString value)
public GcpMetadata.Builder setProjectDisplayNameBytes(ByteString value)
The project ID that the resource belongs to.
string project_display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for projectDisplayName to set. |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcpMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GcpMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GcpMetadata.Builder |