public final class CreateWorkloadOperationMetadata extends GeneratedMessageV3 implements CreateWorkloadOperationMetadataOrBuilder
Operation metadata to give request details of CreateWorkload.
Protobuf type google.cloud.assuredworkloads.v1beta1.CreateWorkloadOperationMetadata
Static Fields
public static final int COMPLIANCE_REGIME_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
public static final int PARENT_FIELD_NUMBER
Field Value
public static final int RESOURCE_SETTINGS_FIELD_NUMBER
Field Value
Static Methods
public static CreateWorkloadOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateWorkloadOperationMetadata.Builder newBuilder()
Returns
public static CreateWorkloadOperationMetadata.Builder newBuilder(CreateWorkloadOperationMetadata prototype)
Parameter
Returns
public static CreateWorkloadOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateWorkloadOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateWorkloadOperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Workload.ComplianceRegime getComplianceRegime()
Optional. Compliance controls that should be applied to the resources
managed by the workload.
.google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
public int getComplianceRegimeValue()
Optional. Compliance controls that should be applied to the resources
managed by the workload.
.google.cloud.assuredworkloads.v1beta1.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
public TimestampOrBuilder getCreateTimeOrBuilder()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
public CreateWorkloadOperationMetadata getDefaultInstanceForType()
Returns
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
public Parser<CreateWorkloadOperationMetadata> getParserForType()
Returns
Overrides
public Workload.ResourceSettings getResourceSettings(int index)
Optional. Resource properties in the input that are used for
creating/customizing workload resources.
repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
public int getResourceSettingsCount()
Optional. Resource properties in the input that are used for
creating/customizing workload resources.
repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
public List<Workload.ResourceSettings> getResourceSettingsList()
Optional. Resource properties in the input that are used for
creating/customizing workload resources.
repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
public Workload.ResourceSettingsOrBuilder getResourceSettingsOrBuilder(int index)
Optional. Resource properties in the input that are used for
creating/customizing workload resources.
repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
public List<? extends Workload.ResourceSettingsOrBuilder> getResourceSettingsOrBuilderList()
Optional. Resource properties in the input that are used for
creating/customizing workload resources.
repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
List<? extends com.google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettingsOrBuilder> | |
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateWorkloadOperationMetadata.Builder newBuilderForType()
Returns
protected CreateWorkloadOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateWorkloadOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions