- 2.56.0 (latest)
- 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 OSPolicyAssignmentOperationMetadata.Builder extends GeneratedMessageV3.Builder<OSPolicyAssignmentOperationMetadata.Builder> implements OSPolicyAssignmentOperationMetadataOrBuilder
OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.
Protobuf type google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicyAssignmentOperationMetadata.BuilderImplements
OSPolicyAssignmentOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
build()
public OSPolicyAssignmentOperationMetadata build()
Type | Description |
OSPolicyAssignmentOperationMetadata |
buildPartial()
public OSPolicyAssignmentOperationMetadata buildPartial()
Type | Description |
OSPolicyAssignmentOperationMetadata |
clear()
public OSPolicyAssignmentOperationMetadata.Builder clear()
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clearApiMethod()
public OSPolicyAssignmentOperationMetadata.Builder clearApiMethod()
The OS policy assignment API method.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OSPolicyAssignmentOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyAssignmentOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clearOsPolicyAssignment()
public OSPolicyAssignmentOperationMetadata.Builder clearOsPolicyAssignment()
Reference to the OSPolicyAssignment
API resource.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
clearRolloutStartTime()
public OSPolicyAssignmentOperationMetadata.Builder clearRolloutStartTime()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clearRolloutState()
public OSPolicyAssignmentOperationMetadata.Builder clearRolloutState()
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
clearRolloutUpdateTime()
public OSPolicyAssignmentOperationMetadata.Builder clearRolloutUpdateTime()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clone()
public OSPolicyAssignmentOperationMetadata.Builder clone()
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
getApiMethod()
public OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod()
The OS policy assignment API method.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
Type | Description |
OSPolicyAssignmentOperationMetadata.APIMethod | The apiMethod. |
getApiMethodValue()
public int getApiMethodValue()
The OS policy assignment API method.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
Type | Description |
int | The enum numeric value on the wire for apiMethod. |
getDefaultInstanceForType()
public OSPolicyAssignmentOperationMetadata getDefaultInstanceForType()
Type | Description |
OSPolicyAssignmentOperationMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getOsPolicyAssignment()
public String getOsPolicyAssignment()
Reference to the OSPolicyAssignment
API resource.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The osPolicyAssignment. |
getOsPolicyAssignmentBytes()
public ByteString getOsPolicyAssignmentBytes()
Reference to the OSPolicyAssignment
API resource.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for osPolicyAssignment. |
getRolloutStartTime()
public Timestamp getRolloutStartTime()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Type | Description |
Timestamp | The rolloutStartTime. |
getRolloutStartTimeBuilder()
public Timestamp.Builder getRolloutStartTimeBuilder()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Type | Description |
Builder |
getRolloutStartTimeOrBuilder()
public TimestampOrBuilder getRolloutStartTimeOrBuilder()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Type | Description |
TimestampOrBuilder |
getRolloutState()
public OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState()
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Type | Description |
OSPolicyAssignmentOperationMetadata.RolloutState | The rolloutState. |
getRolloutStateValue()
public int getRolloutStateValue()
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Type | Description |
int | The enum numeric value on the wire for rolloutState. |
getRolloutUpdateTime()
public Timestamp getRolloutUpdateTime()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Type | Description |
Timestamp | The rolloutUpdateTime. |
getRolloutUpdateTimeBuilder()
public Timestamp.Builder getRolloutUpdateTimeBuilder()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Type | Description |
Builder |
getRolloutUpdateTimeOrBuilder()
public TimestampOrBuilder getRolloutUpdateTimeOrBuilder()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Type | Description |
TimestampOrBuilder |
hasRolloutStartTime()
public boolean hasRolloutStartTime()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Type | Description |
boolean | Whether the rolloutStartTime field is set. |
hasRolloutUpdateTime()
public boolean hasRolloutUpdateTime()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Type | Description |
boolean | Whether the rolloutUpdateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(OSPolicyAssignmentOperationMetadata other)
public OSPolicyAssignmentOperationMetadata.Builder mergeFrom(OSPolicyAssignmentOperationMetadata other)
Name | Description |
other | OSPolicyAssignmentOperationMetadata |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyAssignmentOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicyAssignmentOperationMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeRolloutStartTime(Timestamp value)
public OSPolicyAssignmentOperationMetadata.Builder mergeRolloutStartTime(Timestamp value)
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeRolloutUpdateTime(Timestamp value)
public OSPolicyAssignmentOperationMetadata.Builder mergeRolloutUpdateTime(Timestamp value)
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setApiMethod(OSPolicyAssignmentOperationMetadata.APIMethod value)
public OSPolicyAssignmentOperationMetadata.Builder setApiMethod(OSPolicyAssignmentOperationMetadata.APIMethod value)
The OS policy assignment API method.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
Name | Description |
value | OSPolicyAssignmentOperationMetadata.APIMethod The apiMethod to set. |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
setApiMethodValue(int value)
public OSPolicyAssignmentOperationMetadata.Builder setApiMethodValue(int value)
The OS policy assignment API method.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
Name | Description |
value | int The enum numeric value on the wire for apiMethod to set. |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setOsPolicyAssignment(String value)
public OSPolicyAssignmentOperationMetadata.Builder setOsPolicyAssignment(String value)
Reference to the OSPolicyAssignment
API resource.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The osPolicyAssignment to set. |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
setOsPolicyAssignmentBytes(ByteString value)
public OSPolicyAssignmentOperationMetadata.Builder setOsPolicyAssignmentBytes(ByteString value)
Reference to the OSPolicyAssignment
API resource.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for osPolicyAssignment to set. |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicyAssignmentOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setRolloutStartTime(Timestamp value)
public OSPolicyAssignmentOperationMetadata.Builder setRolloutStartTime(Timestamp value)
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setRolloutStartTime(Timestamp.Builder builderForValue)
public OSPolicyAssignmentOperationMetadata.Builder setRolloutStartTime(Timestamp.Builder builderForValue)
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setRolloutState(OSPolicyAssignmentOperationMetadata.RolloutState value)
public OSPolicyAssignmentOperationMetadata.Builder setRolloutState(OSPolicyAssignmentOperationMetadata.RolloutState value)
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Name | Description |
value | OSPolicyAssignmentOperationMetadata.RolloutState The rolloutState to set. |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
setRolloutStateValue(int value)
public OSPolicyAssignmentOperationMetadata.Builder setRolloutStateValue(int value)
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Name | Description |
value | int The enum numeric value on the wire for rolloutState to set. |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder | This builder for chaining. |
setRolloutUpdateTime(Timestamp value)
public OSPolicyAssignmentOperationMetadata.Builder setRolloutUpdateTime(Timestamp value)
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setRolloutUpdateTime(Timestamp.Builder builderForValue)
public OSPolicyAssignmentOperationMetadata.Builder setRolloutUpdateTime(Timestamp.Builder builderForValue)
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |