- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 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.v1beta1.CreateWorkloadOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateWorkloadOperationMetadata.BuilderImplements
CreateWorkloadOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResourceSettings(Iterable<? extends Workload.ResourceSettings> values)
public CreateWorkloadOperationMetadata.Builder addAllResourceSettings(Iterable<? extends Workload.ResourceSettings> values)
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 |
values |
Iterable<? extends com.google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings> |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkloadOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
addResourceSettings(Workload.ResourceSettings value)
public CreateWorkloadOperationMetadata.Builder addResourceSettings(Workload.ResourceSettings value)
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 |
value |
Workload.ResourceSettings |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
addResourceSettings(Workload.ResourceSettings.Builder builderForValue)
public CreateWorkloadOperationMetadata.Builder addResourceSettings(Workload.ResourceSettings.Builder builderForValue)
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 |
builderForValue |
Workload.ResourceSettings.Builder |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
addResourceSettings(int index, Workload.ResourceSettings value)
public CreateWorkloadOperationMetadata.Builder addResourceSettings(int index, Workload.ResourceSettings value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Workload.ResourceSettings |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
addResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)
public CreateWorkloadOperationMetadata.Builder addResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Workload.ResourceSettings.Builder |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
addResourceSettingsBuilder()
public Workload.ResourceSettings.Builder addResourceSettingsBuilder()
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 |
Workload.ResourceSettings.Builder |
addResourceSettingsBuilder(int index)
public Workload.ResourceSettings.Builder addResourceSettingsBuilder(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.Builder |
build()
public CreateWorkloadOperationMetadata build()
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata |
buildPartial()
public CreateWorkloadOperationMetadata buildPartial()
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata |
clear()
public CreateWorkloadOperationMetadata.Builder clear()
Returns | |
---|---|
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.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateWorkloadOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkloadOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
clearParent()
public CreateWorkloadOperationMetadata.Builder clearParent()
Optional. The parent of the workload.
string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
This builder for chaining. |
clearResourceSettings()
public CreateWorkloadOperationMetadata.Builder clearResourceSettings()
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 |
CreateWorkloadOperationMetadata.Builder |
clone()
public CreateWorkloadOperationMetadata.Builder clone()
Returns | |
---|---|
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.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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Optional. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CreateWorkloadOperationMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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 |
getResourceSettingsBuilder(int index)
public Workload.ResourceSettings.Builder getResourceSettingsBuilder(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.Builder |
getResourceSettingsBuilderList()
public List<Workload.ResourceSettings.Builder> getResourceSettingsBuilderList()
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<Builder> |
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> |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
mergeFrom(CreateWorkloadOperationMetadata other)
public CreateWorkloadOperationMetadata.Builder mergeFrom(CreateWorkloadOperationMetadata other)
Parameter | |
---|---|
Name | Description |
other |
CreateWorkloadOperationMetadata |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateWorkloadOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateWorkloadOperationMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkloadOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
removeResourceSettings(int index)
public CreateWorkloadOperationMetadata.Builder removeResourceSettings(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 |
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.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Workload.ComplianceRegime The complianceRegime to set. |
Returns | |
---|---|
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.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for complianceRegime to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkloadOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setResourceSettings(int index, Workload.ResourceSettings value)
public CreateWorkloadOperationMetadata.Builder setResourceSettings(int index, Workload.ResourceSettings value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Workload.ResourceSettings |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)
public CreateWorkloadOperationMetadata.Builder setResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Workload.ResourceSettings.Builder |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkloadOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateWorkloadOperationMetadata.Builder |