- 2.85.0 (latest)
- 2.84.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.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.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class CreateOSPolicyAssignmentRequest.Builder extends GeneratedMessage.Builder<CreateOSPolicyAssignmentRequest.Builder> implements CreateOSPolicyAssignmentRequestOrBuilderA request message to create an OS policy assignment
Protobuf type google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateOSPolicyAssignmentRequest.BuilderImplements
CreateOSPolicyAssignmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateOSPolicyAssignmentRequest build()| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest |
|
buildPartial()
public CreateOSPolicyAssignmentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest |
|
clear()
public CreateOSPolicyAssignmentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
clearOsPolicyAssignment()
public CreateOSPolicyAssignmentRequest.Builder clearOsPolicyAssignment()Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
clearOsPolicyAssignmentId()
public CreateOSPolicyAssignmentRequest.Builder clearOsPolicyAssignmentId()Required. The logical name of the OS policy assignment in the project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the project.
string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
This builder for chaining. |
clearParent()
public CreateOSPolicyAssignmentRequest.Builder clearParent()Required. The parent resource name in the form: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateOSPolicyAssignmentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOsPolicyAssignment()
public OSPolicyAssignment getOsPolicyAssignment()Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment |
The osPolicyAssignment. |
getOsPolicyAssignmentBuilder()
public OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder()Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Builder |
|
getOsPolicyAssignmentId()
public String getOsPolicyAssignmentId()Required. The logical name of the OS policy assignment in the project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the project.
string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The osPolicyAssignmentId. |
getOsPolicyAssignmentIdBytes()
public ByteString getOsPolicyAssignmentIdBytes()Required. The logical name of the OS policy assignment in the project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the project.
string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for osPolicyAssignmentId. |
getOsPolicyAssignmentOrBuilder()
public OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder()Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignmentOrBuilder |
|
getParent()
public String getParent()Required. The parent resource name in the form: projects/{project}/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 in the form: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasOsPolicyAssignment()
public boolean hasOsPolicyAssignment()Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the osPolicyAssignment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateOSPolicyAssignmentRequest other)
public CreateOSPolicyAssignmentRequest.Builder mergeFrom(CreateOSPolicyAssignmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateOSPolicyAssignmentRequest |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateOSPolicyAssignmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateOSPolicyAssignmentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
mergeOsPolicyAssignment(OSPolicyAssignment value)
public CreateOSPolicyAssignmentRequest.Builder mergeOsPolicyAssignment(OSPolicyAssignment value)Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
OSPolicyAssignment |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
setOsPolicyAssignment(OSPolicyAssignment value)
public CreateOSPolicyAssignmentRequest.Builder setOsPolicyAssignment(OSPolicyAssignment value)Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
OSPolicyAssignment |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
setOsPolicyAssignment(OSPolicyAssignment.Builder builderForValue)
public CreateOSPolicyAssignmentRequest.Builder setOsPolicyAssignment(OSPolicyAssignment.Builder builderForValue)Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OSPolicyAssignment.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
|
setOsPolicyAssignmentId(String value)
public CreateOSPolicyAssignmentRequest.Builder setOsPolicyAssignmentId(String value)Required. The logical name of the OS policy assignment in the project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the project.
string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe osPolicyAssignmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
This builder for chaining. |
setOsPolicyAssignmentIdBytes(ByteString value)
public CreateOSPolicyAssignmentRequest.Builder setOsPolicyAssignmentIdBytes(ByteString value)Required. The logical name of the OS policy assignment in the project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the project.
string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for osPolicyAssignmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOSPolicyAssignmentRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateOSPolicyAssignmentRequest.Builder setParent(String value)Required. The parent resource name in the form: projects/{project}/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 |
CreateOSPolicyAssignmentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateOSPolicyAssignmentRequest.Builder setParentBytes(ByteString value)Required. The parent resource name in the form: projects/{project}/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 |
CreateOSPolicyAssignmentRequest.Builder |
This builder for chaining. |