public static final class PostureDeployment.Builder extends GeneratedMessageV3.Builder<PostureDeployment.Builder> implements PostureDeploymentOrBuilder
===
PostureDeployments
=== Message describing PostureDeployment resource. Protobuf type google.cloud.securityposture.v1.PostureDeployment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PostureDeployment.BuilderImplements
PostureDeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PostureDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
build()
public PostureDeployment build()
Returns | |
---|---|
Type | Description |
PostureDeployment |
buildPartial()
public PostureDeployment buildPartial()
Returns | |
---|---|
Type | Description |
PostureDeployment |
clear()
public PostureDeployment.Builder clear()
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
clearAnnotations()
public PostureDeployment.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
clearCreateTime()
public PostureDeployment.Builder clearCreateTime()
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
clearDescription()
public PostureDeployment.Builder clearDescription()
Optional. User provided description of the PostureDeployment.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearDesiredPostureId()
public PostureDeployment.Builder clearDesiredPostureId()
Output only. This is a output only optional field which will be filled in case where PostureDeployment state is UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It denotes the desired Posture.
string desired_posture_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearDesiredPostureRevisionId()
public PostureDeployment.Builder clearDesiredPostureRevisionId()
Output only. Output only optional field which provides revision_id of the desired_posture_id.
string desired_posture_revision_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearEtag()
public PostureDeployment.Builder clearEtag()
Optional. An opaque tag indicating the current version of the
PostureDeployment, used for concurrency control. When the
PostureDeployment
is returned from either a GetPostureDeployment
or a
ListPostureDeployments
request, this etag
indicates the version of the
current PostureDeployment
to use when executing a read-modify-write loop.
When the PostureDeployment
is used in a UpdatePostureDeployment
method,
use the etag
value that was returned from a GetPostureDeployment
request as part of a read-modify-write loop for concurrency control. Not
setting the etag
in a UpdatePostureDeployment
request will result in an
unconditional write of the PostureDeployment
.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearFailureMessage()
public PostureDeployment.Builder clearFailureMessage()
Output only. This is a output only optional field which will be filled in case where PostureDeployment enters a failure state like UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED.
string failure_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PostureDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
clearName()
public PostureDeployment.Builder clearName()
Required. The name of this PostureDeployment resource, in the format of organizations/{organization}/locations/{location_id}/postureDeployments/{postureDeployment}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PostureDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
clearPostureId()
public PostureDeployment.Builder clearPostureId()
Required. Posture that needs to be deployed. Format: organizations/{org_id}/locations/{location_id}/postures/<posture> Example: organizations/99/locations/global/postures/les-miserables.
string posture_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearPostureRevisionId()
public PostureDeployment.Builder clearPostureRevisionId()
Required. Revision_id of the Posture that is to be deployed.
string posture_revision_id = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearReconciling()
public PostureDeployment.Builder clearReconciling()
Output only. Whether or not this Posture is in the process of being updated.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearState()
public PostureDeployment.Builder clearState()
Output only. State of PostureDeployment resource.
.google.cloud.securityposture.v1.PostureDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearTargetResource()
public PostureDeployment.Builder clearTargetResource()
Required. Target resource where the Posture will be deployed. Currently supported resources are of types: projects/projectNumber, folders/folderNumber, organizations/organizationNumber.
string target_resource = 13 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
clearUpdateTime()
public PostureDeployment.Builder clearUpdateTime()
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
clone()
public PostureDeployment.Builder clone()
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getCreateTime()
public Timestamp getCreateTime()
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public PostureDeployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PostureDeployment |
getDescription()
public String getDescription()
Optional. User provided description of the PostureDeployment.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. User provided description of the PostureDeployment.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDesiredPostureId()
public String getDesiredPostureId()
Output only. This is a output only optional field which will be filled in case where PostureDeployment state is UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It denotes the desired Posture.
string desired_posture_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The desiredPostureId. |
getDesiredPostureIdBytes()
public ByteString getDesiredPostureIdBytes()
Output only. This is a output only optional field which will be filled in case where PostureDeployment state is UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It denotes the desired Posture.
string desired_posture_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for desiredPostureId. |
getDesiredPostureRevisionId()
public String getDesiredPostureRevisionId()
Output only. Output only optional field which provides revision_id of the desired_posture_id.
string desired_posture_revision_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The desiredPostureRevisionId. |
getDesiredPostureRevisionIdBytes()
public ByteString getDesiredPostureRevisionIdBytes()
Output only. Output only optional field which provides revision_id of the desired_posture_id.
string desired_posture_revision_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for desiredPostureRevisionId. |
getEtag()
public String getEtag()
Optional. An opaque tag indicating the current version of the
PostureDeployment, used for concurrency control. When the
PostureDeployment
is returned from either a GetPostureDeployment
or a
ListPostureDeployments
request, this etag
indicates the version of the
current PostureDeployment
to use when executing a read-modify-write loop.
When the PostureDeployment
is used in a UpdatePostureDeployment
method,
use the etag
value that was returned from a GetPostureDeployment
request as part of a read-modify-write loop for concurrency control. Not
setting the etag
in a UpdatePostureDeployment
request will result in an
unconditional write of the PostureDeployment
.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Optional. An opaque tag indicating the current version of the
PostureDeployment, used for concurrency control. When the
PostureDeployment
is returned from either a GetPostureDeployment
or a
ListPostureDeployments
request, this etag
indicates the version of the
current PostureDeployment
to use when executing a read-modify-write loop.
When the PostureDeployment
is used in a UpdatePostureDeployment
method,
use the etag
value that was returned from a GetPostureDeployment
request as part of a read-modify-write loop for concurrency control. Not
setting the etag
in a UpdatePostureDeployment
request will result in an
unconditional write of the PostureDeployment
.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getFailureMessage()
public String getFailureMessage()
Output only. This is a output only optional field which will be filled in case where PostureDeployment enters a failure state like UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED.
string failure_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The failureMessage. |
getFailureMessageBytes()
public ByteString getFailureMessageBytes()
Output only. This is a output only optional field which will be filled in case where PostureDeployment enters a failure state like UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED.
string failure_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for failureMessage. |
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Required. The name of this PostureDeployment resource, in the format of organizations/{organization}/locations/{location_id}/postureDeployments/{postureDeployment}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of this PostureDeployment resource, in the format of organizations/{organization}/locations/{location_id}/postureDeployments/{postureDeployment}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPostureId()
public String getPostureId()
Required. Posture that needs to be deployed. Format: organizations/{org_id}/locations/{location_id}/postures/<posture> Example: organizations/99/locations/global/postures/les-miserables.
string posture_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The postureId. |
getPostureIdBytes()
public ByteString getPostureIdBytes()
Required. Posture that needs to be deployed. Format: organizations/{org_id}/locations/{location_id}/postures/<posture> Example: organizations/99/locations/global/postures/les-miserables.
string posture_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for postureId. |
getPostureRevisionId()
public String getPostureRevisionId()
Required. Revision_id of the Posture that is to be deployed.
string posture_revision_id = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The postureRevisionId. |
getPostureRevisionIdBytes()
public ByteString getPostureRevisionIdBytes()
Required. Revision_id of the Posture that is to be deployed.
string posture_revision_id = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for postureRevisionId. |
getReconciling()
public boolean getReconciling()
Output only. Whether or not this Posture is in the process of being updated.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The reconciling. |
getState()
public PostureDeployment.State getState()
Output only. State of PostureDeployment resource.
.google.cloud.securityposture.v1.PostureDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PostureDeployment.State |
The state. |
getStateValue()
public int getStateValue()
Output only. State of PostureDeployment resource.
.google.cloud.securityposture.v1.PostureDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getTargetResource()
public String getTargetResource()
Required. Target resource where the Posture will be deployed. Currently supported resources are of types: projects/projectNumber, folders/folderNumber, organizations/organizationNumber.
string target_resource = 13 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The targetResource. |
getTargetResourceBytes()
public ByteString getTargetResourceBytes()
Required. Target resource where the Posture will be deployed. Currently supported resources are of types: projects/projectNumber, folders/folderNumber, organizations/organizationNumber.
string target_resource = 13 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for targetResource. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public PostureDeployment.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
mergeFrom(PostureDeployment other)
public PostureDeployment.Builder mergeFrom(PostureDeployment other)
Parameter | |
---|---|
Name | Description |
other |
PostureDeployment |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostureDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PostureDeployment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PostureDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
mergeUpdateTime(Timestamp value)
public PostureDeployment.Builder mergeUpdateTime(Timestamp value)
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
putAllAnnotations(Map<String,String> values)
public PostureDeployment.Builder putAllAnnotations(Map<String,String> values)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
putAnnotations(String key, String value)
public PostureDeployment.Builder putAnnotations(String key, String value)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
removeAnnotations(String key)
public PostureDeployment.Builder removeAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Security Postures. .
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
setCreateTime(Timestamp value)
public PostureDeployment.Builder setCreateTime(Timestamp value)
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public PostureDeployment.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp that the PostureDeployment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
setDescription(String value)
public PostureDeployment.Builder setDescription(String value)
Optional. User provided description of the PostureDeployment.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public PostureDeployment.Builder setDescriptionBytes(ByteString value)
Optional. User provided description of the PostureDeployment.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setDesiredPostureId(String value)
public PostureDeployment.Builder setDesiredPostureId(String value)
Output only. This is a output only optional field which will be filled in case where PostureDeployment state is UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It denotes the desired Posture.
string desired_posture_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The desiredPostureId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setDesiredPostureIdBytes(ByteString value)
public PostureDeployment.Builder setDesiredPostureIdBytes(ByteString value)
Output only. This is a output only optional field which will be filled in case where PostureDeployment state is UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It denotes the desired Posture.
string desired_posture_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for desiredPostureId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setDesiredPostureRevisionId(String value)
public PostureDeployment.Builder setDesiredPostureRevisionId(String value)
Output only. Output only optional field which provides revision_id of the desired_posture_id.
string desired_posture_revision_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The desiredPostureRevisionId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setDesiredPostureRevisionIdBytes(ByteString value)
public PostureDeployment.Builder setDesiredPostureRevisionIdBytes(ByteString value)
Output only. Output only optional field which provides revision_id of the desired_posture_id.
string desired_posture_revision_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for desiredPostureRevisionId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setEtag(String value)
public PostureDeployment.Builder setEtag(String value)
Optional. An opaque tag indicating the current version of the
PostureDeployment, used for concurrency control. When the
PostureDeployment
is returned from either a GetPostureDeployment
or a
ListPostureDeployments
request, this etag
indicates the version of the
current PostureDeployment
to use when executing a read-modify-write loop.
When the PostureDeployment
is used in a UpdatePostureDeployment
method,
use the etag
value that was returned from a GetPostureDeployment
request as part of a read-modify-write loop for concurrency control. Not
setting the etag
in a UpdatePostureDeployment
request will result in an
unconditional write of the PostureDeployment
.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public PostureDeployment.Builder setEtagBytes(ByteString value)
Optional. An opaque tag indicating the current version of the
PostureDeployment, used for concurrency control. When the
PostureDeployment
is returned from either a GetPostureDeployment
or a
ListPostureDeployments
request, this etag
indicates the version of the
current PostureDeployment
to use when executing a read-modify-write loop.
When the PostureDeployment
is used in a UpdatePostureDeployment
method,
use the etag
value that was returned from a GetPostureDeployment
request as part of a read-modify-write loop for concurrency control. Not
setting the etag
in a UpdatePostureDeployment
request will result in an
unconditional write of the PostureDeployment
.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setFailureMessage(String value)
public PostureDeployment.Builder setFailureMessage(String value)
Output only. This is a output only optional field which will be filled in case where PostureDeployment enters a failure state like UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED.
string failure_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The failureMessage to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setFailureMessageBytes(ByteString value)
public PostureDeployment.Builder setFailureMessageBytes(ByteString value)
Output only. This is a output only optional field which will be filled in case where PostureDeployment enters a failure state like UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED.
string failure_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for failureMessage to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PostureDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
setName(String value)
public PostureDeployment.Builder setName(String value)
Required. The name of this PostureDeployment resource, in the format of organizations/{organization}/locations/{location_id}/postureDeployments/{postureDeployment}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public PostureDeployment.Builder setNameBytes(ByteString value)
Required. The name of this PostureDeployment resource, in the format of organizations/{organization}/locations/{location_id}/postureDeployments/{postureDeployment}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setPostureId(String value)
public PostureDeployment.Builder setPostureId(String value)
Required. Posture that needs to be deployed. Format: organizations/{org_id}/locations/{location_id}/postures/<posture> Example: organizations/99/locations/global/postures/les-miserables.
string posture_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The postureId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setPostureIdBytes(ByteString value)
public PostureDeployment.Builder setPostureIdBytes(ByteString value)
Required. Posture that needs to be deployed. Format: organizations/{org_id}/locations/{location_id}/postures/<posture> Example: organizations/99/locations/global/postures/les-miserables.
string posture_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for postureId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setPostureRevisionId(String value)
public PostureDeployment.Builder setPostureRevisionId(String value)
Required. Revision_id of the Posture that is to be deployed.
string posture_revision_id = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The postureRevisionId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setPostureRevisionIdBytes(ByteString value)
public PostureDeployment.Builder setPostureRevisionIdBytes(ByteString value)
Required. Revision_id of the Posture that is to be deployed.
string posture_revision_id = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for postureRevisionId to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setReconciling(boolean value)
public PostureDeployment.Builder setReconciling(boolean value)
Output only. Whether or not this Posture is in the process of being updated.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The reconciling to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PostureDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
setState(PostureDeployment.State value)
public PostureDeployment.Builder setState(PostureDeployment.State value)
Output only. State of PostureDeployment resource.
.google.cloud.securityposture.v1.PostureDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
PostureDeployment.State The state to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setStateValue(int value)
public PostureDeployment.Builder setStateValue(int value)
Output only. State of PostureDeployment resource.
.google.cloud.securityposture.v1.PostureDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setTargetResource(String value)
public PostureDeployment.Builder setTargetResource(String value)
Required. Target resource where the Posture will be deployed. Currently supported resources are of types: projects/projectNumber, folders/folderNumber, organizations/organizationNumber.
string target_resource = 13 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The targetResource to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setTargetResourceBytes(ByteString value)
public PostureDeployment.Builder setTargetResourceBytes(ByteString value)
Required. Target resource where the Posture will be deployed. Currently supported resources are of types: projects/projectNumber, folders/folderNumber, organizations/organizationNumber.
string target_resource = 13 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetResource to set. |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PostureDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
setUpdateTime(Timestamp value)
public PostureDeployment.Builder setUpdateTime(Timestamp value)
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public PostureDeployment.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp that the PostureDeployment was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
PostureDeployment.Builder |