Class OSPolicyAssignmentOperationMetadata (2.32.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.v1.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
TypeDescription
int

OS_POLICY_ASSIGNMENT_FIELD_NUMBER

public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_START_TIME_FIELD_NUMBER

public static final int ROLLOUT_START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_STATE_FIELD_NUMBER

public static final int ROLLOUT_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_UPDATE_TIME_FIELD_NUMBER

public static final int ROLLOUT_UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OSPolicyAssignmentOperationMetadata getDefaultInstance()
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OSPolicyAssignmentOperationMetadata.Builder newBuilder()
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder

newBuilder(OSPolicyAssignmentOperationMetadata prototype)

public static OSPolicyAssignmentOperationMetadata.Builder newBuilder(OSPolicyAssignmentOperationMetadata prototype)
Parameter
NameDescription
prototypeOSPolicyAssignmentOperationMetadata
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static OSPolicyAssignmentOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OSPolicyAssignmentOperationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OSPolicyAssignmentOperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OSPolicyAssignmentOperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyAssignmentOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OSPolicyAssignmentOperationMetadata> parser()
Returns
TypeDescription
Parser<OSPolicyAssignmentOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApiMethod()

public OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod()

The OS policy assignment API method.

.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;

Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.APIMethod

The apiMethod.

getApiMethodValue()

public int getApiMethodValue()

The OS policy assignment API method.

.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for apiMethod.

getDefaultInstanceForType()

public OSPolicyAssignmentOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for osPolicyAssignment.

getParserForType()

public Parser<OSPolicyAssignmentOperationMetadata> getParserForType()
Returns
TypeDescription
Parser<OSPolicyAssignmentOperationMetadata>
Overrides

getRolloutStartTime()

public Timestamp getRolloutStartTime()

Rollout start time

.google.protobuf.Timestamp rollout_start_time = 4;

Returns
TypeDescription
Timestamp

The rolloutStartTime.

getRolloutStartTimeOrBuilder()

public TimestampOrBuilder getRolloutStartTimeOrBuilder()

Rollout start time

.google.protobuf.Timestamp rollout_start_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getRolloutState()

public OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState()

State of the rollout

.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;

Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.RolloutState

The rolloutState.

getRolloutStateValue()

public int getRolloutStateValue()

State of the rollout

.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;

Returns
TypeDescription
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
TypeDescription
Timestamp

The rolloutUpdateTime.

getRolloutUpdateTimeOrBuilder()

public TimestampOrBuilder getRolloutUpdateTimeOrBuilder()

Rollout update time

.google.protobuf.Timestamp rollout_update_time = 5;

Returns
TypeDescription
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasRolloutStartTime()

public boolean hasRolloutStartTime()

Rollout start time

.google.protobuf.Timestamp rollout_start_time = 4;

Returns
TypeDescription
boolean

Whether the rolloutStartTime field is set.

hasRolloutUpdateTime()

public boolean hasRolloutUpdateTime()

Rollout update time

.google.protobuf.Timestamp rollout_update_time = 5;

Returns
TypeDescription
boolean

Whether the rolloutUpdateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OSPolicyAssignmentOperationMetadata.Builder newBuilderForType()
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OSPolicyAssignmentOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OSPolicyAssignmentOperationMetadata.Builder toBuilder()
Returns
TypeDescription
OSPolicyAssignmentOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException