Class CreateWorkloadOperationMetadata.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateWorkloadOperationMetadata.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateWorkloadOperationMetadata.Builder>
      • getDefaultInstanceForType

        public CreateWorkloadOperationMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateWorkloadOperationMetadata build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateWorkloadOperationMetadata buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateWorkloadOperationMetadata.Builder>
      • hasCreateTime

        public boolean hasCreateTime()
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasCreateTime in interface CreateWorkloadOperationMetadataOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCreateTime in interface CreateWorkloadOperationMetadataOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public CreateWorkloadOperationMetadata.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      • setCreateTime

        public CreateWorkloadOperationMetadata.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      • mergeCreateTime

        public CreateWorkloadOperationMetadata.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      • clearCreateTime

        public CreateWorkloadOperationMetadata.Builder clearCreateTime()
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Optional. Time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCreateTimeOrBuilder in interface CreateWorkloadOperationMetadataOrBuilder
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Optional. The display name of the workload.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayNameBytes in interface CreateWorkloadOperationMetadataOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public CreateWorkloadOperationMetadata.Builder setDisplayName​(String value)
         Optional. The display name of the workload.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public CreateWorkloadOperationMetadata.Builder clearDisplayName()
         Optional. The display name of the workload.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public CreateWorkloadOperationMetadata.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Optional. The display name of the workload.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Optional. The parent of the workload.
         
        string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getParentBytes in interface CreateWorkloadOperationMetadataOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateWorkloadOperationMetadata.Builder setParent​(String value)
         Optional. The parent of the workload.
         
        string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateWorkloadOperationMetadata.Builder clearParent()
         Optional. The parent of the workload.
         
        string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateWorkloadOperationMetadata.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Optional. The parent of the workload.
         
        string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getComplianceRegimeValue in interface CreateWorkloadOperationMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for complianceRegime.
      • setComplianceRegimeValue

        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];
        Parameters:
        value - The enum numeric value on the wire for complianceRegime to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getComplianceRegime in interface CreateWorkloadOperationMetadataOrBuilder
        Returns:
        The complianceRegime.
      • setComplianceRegime

        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];
        Parameters:
        value - The complianceRegime to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • 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];
        Specified by:
        getResourceSettingsCount in interface CreateWorkloadOperationMetadataOrBuilder
      • getResourceSettings

        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];
        Specified by:
        getResourceSettings in interface CreateWorkloadOperationMetadataOrBuilder
      • setResourceSettings

        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];
      • setResourceSettings

        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];
      • addResourceSettings

        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];
      • addResourceSettings

        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];
      • addResourceSettings

        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];
      • addResourceSettings

        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];
      • addAllResourceSettings

        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];
      • 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];
      • removeResourceSettings

        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];
      • getResourceSettingsBuilder

        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];
      • 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];
      • addResourceSettingsBuilder

        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];
      • 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];