Class OSPolicyAssignmentOperationMetadata (2.49.0)

public final class OSPolicyAssignmentOperationMetadata extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OSPolicyAssignmentOperationMetadata

Static Fields

API_METHOD_FIELD_NUMBER

public static final int API_METHOD_FIELD_NUMBER
Field Value
Type Description
int

OS_POLICY_ASSIGNMENT_FIELD_NUMBER

public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER
Field Value
Type Description
int

ROLLOUT_START_TIME_FIELD_NUMBER

public static final int ROLLOUT_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

ROLLOUT_STATE_FIELD_NUMBER

public static final int ROLLOUT_STATE_FIELD_NUMBER
Field Value
Type Description
int

ROLLOUT_UPDATE_TIME_FIELD_NUMBER

public static final int ROLLOUT_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OSPolicyAssignmentOperationMetadata getDefaultInstance()
Returns
Type Description
OSPolicyAssignmentOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OSPolicyAssignmentOperationMetadata.Builder newBuilder()
Returns
Type Description
OSPolicyAssignmentOperationMetadata.Builder

newBuilder(OSPolicyAssignmentOperationMetadata prototype)

public static OSPolicyAssignmentOperationMetadata.Builder newBuilder(OSPolicyAssignmentOperationMetadata prototype)
Parameter
Name Description
prototype OSPolicyAssignmentOperationMetadata
Returns
Type Description
OSPolicyAssignmentOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static OSPolicyAssignmentOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OSPolicyAssignmentOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OSPolicyAssignmentOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OSPolicyAssignmentOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OSPolicyAssignmentOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OSPolicyAssignmentOperationMetadata> parser()
Returns
Type Description
Parser<OSPolicyAssignmentOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<OSPolicyAssignmentOperationMetadata> getParserForType()
Returns
Type Description
Parser<OSPolicyAssignmentOperationMetadata>
Overrides

getRolloutStartTime()

public Timestamp getRolloutStartTime()

Rollout start time

.google.protobuf.Timestamp rollout_start_time = 4;

Returns
Type Description
Timestamp

The rolloutStartTime.

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.

getRolloutUpdateTimeOrBuilder()

public TimestampOrBuilder getRolloutUpdateTimeOrBuilder()

Rollout update time

.google.protobuf.Timestamp rollout_update_time = 5;

Returns
Type Description
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OSPolicyAssignmentOperationMetadata.Builder newBuilderForType()
Returns
Type Description
OSPolicyAssignmentOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OSPolicyAssignmentOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OSPolicyAssignmentOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OSPolicyAssignmentOperationMetadata.Builder toBuilder()
Returns
Type Description
OSPolicyAssignmentOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException