public final class CreateWorkloadOperationMetadata extends GeneratedMessageV3 implements CreateWorkloadOperationMetadataOrBuilder
Operation metadata to give request details of CreateWorkload.
Protobuf type google.cloud.assuredworkloads.v1beta1.CreateWorkloadOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
public static final int RESOURCE_SETTINGS_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.v1beta1.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.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 |
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 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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
int |
|
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];
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
int |
|
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