Send feedback
Class CreateWorkloadOperationMetadata (2.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.15.0keyboard_arrow_down
public final class CreateWorkloadOperationMetadata extends GeneratedMessageV3 implements CreateWorkloadOperationMetadataOrBuilder
Operation metadata to give request details of CreateWorkload.
Protobuf type google.cloud.assuredworkloads.v1.CreateWorkloadOperationMetadata
Static Fields
public static final int COMPLIANCE_REGIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PARENT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static CreateWorkloadOperationMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CreateWorkloadOperationMetadata . Builder newBuilder ()
public static CreateWorkloadOperationMetadata . Builder newBuilder ( CreateWorkloadOperationMetadata prototype )
public static CreateWorkloadOperationMetadata parseDelimitedFrom ( InputStream input )
public static CreateWorkloadOperationMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateWorkloadOperationMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CreateWorkloadOperationMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CreateWorkloadOperationMetadata parseFrom ( ByteString data )
public static CreateWorkloadOperationMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CreateWorkloadOperationMetadata parseFrom ( CodedInputStream input )
public static CreateWorkloadOperationMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateWorkloadOperationMetadata parseFrom ( InputStream input )
public static CreateWorkloadOperationMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateWorkloadOperationMetadata parseFrom ( ByteBuffer data )
public static CreateWorkloadOperationMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CreateWorkloadOperationMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Workload . ComplianceRegime getComplianceRegime ()
Optional. Compliance controls that should be applied to the resources managed by
the workload.
.google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
public int getComplianceRegimeValue ()
Optional. Compliance controls that should be applied to the resources managed by
the workload.
.google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for complianceRegime.
public Timestamp getCreateTime ()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Timestamp
The createTime.
public TimestampOrBuilder getCreateTimeOrBuilder ()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
public CreateWorkloadOperationMetadata getDefaultInstanceForType ()
public String getDisplayName ()
Optional. The display name of the workload.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The displayName.
public ByteString getDisplayNameBytes ()
Optional. The display name of the workload.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for displayName.
public String getParent ()
Optional. The parent of the workload.
string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The parent.
public ByteString getParentBytes ()
Optional. The parent of the workload.
string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for parent.
public Parser<CreateWorkloadOperationMetadata> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
public boolean hasCreateTime ()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the createTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public CreateWorkloadOperationMetadata . Builder newBuilderForType ()
protected CreateWorkloadOperationMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CreateWorkloadOperationMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-13 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-13 UTC."],[],[]]