Class CreateWorkloadOperationMetadata (2.55.0)

public final class CreateWorkloadOperationMetadata extends GeneratedMessageV3 implements CreateWorkloadOperationMetadataOrBuilder

Operation metadata to give request details of CreateWorkload.

Protobuf type google.cloud.assuredworkloads.v1beta1.CreateWorkloadOperationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateWorkloadOperationMetadata

Static Fields

COMPLIANCE_REGIME_FIELD_NUMBER

public static final int COMPLIANCE_REGIME_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_SETTINGS_FIELD_NUMBER

public static final int RESOURCE_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateWorkloadOperationMetadata getDefaultInstance()
Returns
Type Description
CreateWorkloadOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(CreateWorkloadOperationMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getComplianceRegime()

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
Type Description
Workload.ComplianceRegime

The complianceRegime.

getComplianceRegimeValue()

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.

getCreateTime()

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.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Optional. Time when the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateWorkloadOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateWorkloadOperationMetadata

getDisplayName()

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.

getDisplayNameBytes()

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.

getParent()

public String getParent()

Optional. The parent of the workload.

string parent = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The parent.

getParentBytes()

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.

getParserForType()

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

getResourceSettings(int index)

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
Returns
Type Description
Workload.ResourceSettings

getResourceSettingsCount()

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

getResourceSettingsList()

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
Type Description
List<ResourceSettings>

getResourceSettingsOrBuilder(int index)

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
Returns
Type Description
Workload.ResourceSettingsOrBuilder

getResourceSettingsOrBuilderList()

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCreateTime()

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.

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 CreateWorkloadOperationMetadata.Builder newBuilderForType()
Returns
Type Description
CreateWorkloadOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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