- 2.57.0 (latest)
- 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 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
build()
public OSPolicyAssignmentOperationMetadata build()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata |
buildPartial()
public OSPolicyAssignmentOperationMetadata buildPartial()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata |
clear()
public OSPolicyAssignmentOperationMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clearApiMethod()
public OSPolicyAssignmentOperationMetadata.Builder clearApiMethod()
The OS policy assignment API method.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OSPolicyAssignmentOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyAssignmentOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
This builder for chaining. |
clearRolloutStartTime()
public OSPolicyAssignmentOperationMetadata.Builder clearRolloutStartTime()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clearRolloutState()
public OSPolicyAssignmentOperationMetadata.Builder clearRolloutState()
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
This builder for chaining. |
clearRolloutUpdateTime()
public OSPolicyAssignmentOperationMetadata.Builder clearRolloutUpdateTime()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
clone()
public OSPolicyAssignmentOperationMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
getApiMethod()
public OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod()
The OS policy assignment API method.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for apiMethod. |
getDefaultInstanceForType()
public OSPolicyAssignmentOperationMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for osPolicyAssignment. |
getRolloutStartTime()
public Timestamp getRolloutStartTime()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp |
The rolloutStartTime. |
getRolloutStartTimeBuilder()
public Timestamp.Builder getRolloutStartTimeBuilder()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Returns | |
---|---|
Type | Description |
Builder |
getRolloutStartTimeOrBuilder()
public TimestampOrBuilder getRolloutStartTimeOrBuilder()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRolloutState()
public OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState()
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.RolloutState |
The rolloutState. |
getRolloutStateValue()
public int getRolloutStateValue()
State of the rollout
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Timestamp |
The rolloutUpdateTime. |
getRolloutUpdateTimeBuilder()
public Timestamp.Builder getRolloutUpdateTimeBuilder()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getRolloutUpdateTimeOrBuilder()
public TimestampOrBuilder getRolloutUpdateTimeOrBuilder()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasRolloutStartTime()
public boolean hasRolloutStartTime()
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the rolloutStartTime field is set. |
hasRolloutUpdateTime()
public boolean hasRolloutUpdateTime()
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the rolloutUpdateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OSPolicyAssignmentOperationMetadata other)
public OSPolicyAssignmentOperationMetadata.Builder mergeFrom(OSPolicyAssignmentOperationMetadata other)
Parameter | |
---|---|
Name | Description |
other |
OSPolicyAssignmentOperationMetadata |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyAssignmentOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicyAssignmentOperationMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeRolloutStartTime(Timestamp value)
public OSPolicyAssignmentOperationMetadata.Builder mergeRolloutStartTime(Timestamp value)
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeRolloutUpdateTime(Timestamp value)
public OSPolicyAssignmentOperationMetadata.Builder mergeRolloutUpdateTime(Timestamp value)
Rollout update time
.google.protobuf.Timestamp rollout_update_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyAssignmentOperationMetadata.APIMethod The apiMethod to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for apiMethod to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The osPolicyAssignment to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for osPolicyAssignment to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setRolloutStartTime(Timestamp value)
public OSPolicyAssignmentOperationMetadata.Builder setRolloutStartTime(Timestamp value)
Rollout start time
.google.protobuf.Timestamp rollout_start_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyAssignmentOperationMetadata.RolloutState The rolloutState to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for rolloutState to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentOperationMetadata.Builder |