- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.1.0
- 2.0.0
- 1.1.0
- 1.0.4
- 0.9.0
- 0.8.2
public static final class CreateWorkloadOperationMetadata.Builder extends GeneratedMessageV3.Builder<CreateWorkloadOperationMetadata.Builder> implements CreateWorkloadOperationMetadataOrBuilder
Operation metadata to give request details of CreateWorkload.
Protobuf type google.cloud.assuredworkloads.v1.CreateWorkloadOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateWorkloadOperationMetadata.BuilderImplements
CreateWorkloadOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkloadOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
build()
public CreateWorkloadOperationMetadata build()
Type | Description |
CreateWorkloadOperationMetadata |
buildPartial()
public CreateWorkloadOperationMetadata buildPartial()
Type | Description |
CreateWorkloadOperationMetadata |
clear()
public CreateWorkloadOperationMetadata.Builder clear()
Type | Description |
CreateWorkloadOperationMetadata.Builder |
clearComplianceRegime()
public CreateWorkloadOperationMetadata.Builder clearComplianceRegime()
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];
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
clearCreateTime()
public CreateWorkloadOperationMetadata.Builder clearCreateTime()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CreateWorkloadOperationMetadata.Builder |
clearDisplayName()
public CreateWorkloadOperationMetadata.Builder clearDisplayName()
Optional. The display name of the workload.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateWorkloadOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkloadOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
clearParent()
public CreateWorkloadOperationMetadata.Builder clearParent()
Optional. The parent of the workload.
string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
clone()
public CreateWorkloadOperationMetadata.Builder clone()
Type | Description |
CreateWorkloadOperationMetadata.Builder |
getComplianceRegime()
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];
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.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
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];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CreateWorkloadOperationMetadata getDefaultInstanceForType()
Type | Description |
CreateWorkloadOperationMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. The display name of the workload.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Optional. The parent of the workload.
string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for parent. |
hasCreateTime()
public boolean hasCreateTime()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public CreateWorkloadOperationMetadata.Builder mergeCreateTime(Timestamp value)
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Timestamp |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
mergeFrom(CreateWorkloadOperationMetadata other)
public CreateWorkloadOperationMetadata.Builder mergeFrom(CreateWorkloadOperationMetadata other)
Name | Description |
other | CreateWorkloadOperationMetadata |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateWorkloadOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateWorkloadOperationMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkloadOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setComplianceRegime(Workload.ComplianceRegime value)
public CreateWorkloadOperationMetadata.Builder setComplianceRegime(Workload.ComplianceRegime value)
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];
Name | Description |
value | Workload.ComplianceRegime The complianceRegime to set. |
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
setComplianceRegimeValue(int value)
public CreateWorkloadOperationMetadata.Builder setComplianceRegimeValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for complianceRegime to set. |
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public CreateWorkloadOperationMetadata.Builder setCreateTime(Timestamp value)
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Timestamp |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public CreateWorkloadOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | Builder |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setDisplayName(String value)
public CreateWorkloadOperationMetadata.Builder setDisplayName(String value)
Optional. The display name of the workload.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The displayName to set. |
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public CreateWorkloadOperationMetadata.Builder setDisplayNameBytes(ByteString value)
Optional. The display name of the workload.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkloadOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setParent(String value)
public CreateWorkloadOperationMetadata.Builder setParent(String value)
Optional. The parent of the workload.
string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The parent to set. |
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateWorkloadOperationMetadata.Builder setParentBytes(ByteString value)
Optional. The parent of the workload.
string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateWorkloadOperationMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateWorkloadOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkloadOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateWorkloadOperationMetadata.Builder |