public static final class CreatePostureRequest.Builder extends GeneratedMessageV3.Builder<CreatePostureRequest.Builder> implements CreatePostureRequestOrBuilder
Message for creating a Posture.
Protobuf type google.cloud.securityposture.v1.CreatePostureRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreatePostureRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreatePostureRequest build()
buildPartial()
public CreatePostureRequest buildPartial()
clear()
public CreatePostureRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreatePostureRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreatePostureRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreatePostureRequest.Builder clearParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearPosture()
public CreatePostureRequest.Builder clearPosture()
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
clearPostureId()
public CreatePostureRequest.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];
clone()
public CreatePostureRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreatePostureRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getPosture()
public Posture getPosture()
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Posture |
The posture.
|
getPostureBuilder()
public Posture.Builder getPostureBuilder()
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
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.
|
getPostureOrBuilder()
public PostureOrBuilder getPostureOrBuilder()
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
hasPosture()
public boolean hasPosture()
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the posture field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreatePostureRequest other)
public CreatePostureRequest.Builder mergeFrom(CreatePostureRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreatePostureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreatePostureRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePosture(Posture value)
public CreatePostureRequest.Builder mergePosture(Posture value)
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Posture
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreatePostureRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreatePostureRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreatePostureRequest.Builder setParent(String value)
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreatePostureRequest.Builder setParentBytes(ByteString value)
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setPosture(Posture value)
public CreatePostureRequest.Builder setPosture(Posture value)
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Posture
|
setPosture(Posture.Builder builderForValue)
public CreatePostureRequest.Builder setPosture(Posture.Builder builderForValue)
Required. The resource being created.
.google.cloud.securityposture.v1.Posture posture = 3 [(.google.api.field_behavior) = REQUIRED];
setPostureId(String value)
public CreatePostureRequest.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 |
String
The postureId to set.
|
setPostureIdBytes(ByteString value)
public CreatePostureRequest.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 |
ByteString
The bytes for postureId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreatePostureRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreatePostureRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides