public static final class ExtractPostureRequest.Builder extends GeneratedMessage.Builder<ExtractPostureRequest.Builder> implements ExtractPostureRequestOrBuilderMessage for extracting existing policies on a workload as a Posture.
Protobuf type google.cloud.securityposture.v1.ExtractPostureRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExtractPostureRequest.BuilderImplements
ExtractPostureRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExtractPostureRequest build()| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest |
|
buildPartial()
public ExtractPostureRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest |
|
clear()
public ExtractPostureRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
|
clearParent()
public ExtractPostureRequest.Builder clearParent() Required. The parent resource name. The format of this value is as follows:
organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
clearPostureId()
public ExtractPostureRequest.Builder clearPostureId()Required. User provided identifier. It should be unique in scope of an Organization and location.
string posture_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
clearWorkload()
public ExtractPostureRequest.Builder clearWorkload()Required. Workload from which the policies are to be extracted, it should belong to the same organization defined in parent. The format of this value varies depending on the scope of the request:
folder/folderNumberproject/projectNumberorganization/organizationNumber
string workload = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExtractPostureRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource name. The format of this value is as follows:
organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource name. The format of this value is as follows:
organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getPostureId()
public String getPostureId()Required. User provided identifier. It should be unique in scope of an Organization and location.
string posture_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The postureId. |
getPostureIdBytes()
public ByteString getPostureIdBytes()Required. User provided identifier. It should be unique in scope of an Organization and location.
string posture_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for postureId. |
getWorkload()
public String getWorkload()Required. Workload from which the policies are to be extracted, it should belong to the same organization defined in parent. The format of this value varies depending on the scope of the request:
folder/folderNumberproject/projectNumberorganization/organizationNumber
string workload = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The workload. |
getWorkloadBytes()
public ByteString getWorkloadBytes()Required. Workload from which the policies are to be extracted, it should belong to the same organization defined in parent. The format of this value varies depending on the scope of the request:
folder/folderNumberproject/projectNumberorganization/organizationNumber
string workload = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workload. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExtractPostureRequest other)
public ExtractPostureRequest.Builder mergeFrom(ExtractPostureRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExtractPostureRequest |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExtractPostureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExtractPostureRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
|
setParent(String value)
public ExtractPostureRequest.Builder setParent(String value) Required. The parent resource name. The format of this value is as follows:
organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ExtractPostureRequest.Builder setParentBytes(ByteString value) Required. The parent resource name. The format of this value is as follows:
organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
setPostureId(String value)
public ExtractPostureRequest.Builder setPostureId(String value)Required. User provided identifier. It should be unique in scope of an Organization and location.
string posture_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe postureId to set. |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
setPostureIdBytes(ByteString value)
public ExtractPostureRequest.Builder setPostureIdBytes(ByteString value)Required. User provided identifier. It should be unique in scope of an Organization and location.
string posture_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for postureId to set. |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
setWorkload(String value)
public ExtractPostureRequest.Builder setWorkload(String value)Required. Workload from which the policies are to be extracted, it should belong to the same organization defined in parent. The format of this value varies depending on the scope of the request:
folder/folderNumberproject/projectNumberorganization/organizationNumber
string workload = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe workload to set. |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |
setWorkloadBytes(ByteString value)
public ExtractPostureRequest.Builder setWorkloadBytes(ByteString value)Required. Workload from which the policies are to be extracted, it should belong to the same organization defined in parent. The format of this value varies depending on the scope of the request:
folder/folderNumberproject/projectNumberorganization/organizationNumber
string workload = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for workload to set. |
| Returns | |
|---|---|
| Type | Description |
ExtractPostureRequest.Builder |
This builder for chaining. |