Class ReportConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReportConfig.Builder>
com.google.cloud.migrationcenter.v1.ReportConfig.Builder
All Implemented Interfaces:
ReportConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReportConfig

public static final class ReportConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportConfig.Builder> implements ReportConfigOrBuilder
 The groups and associated preference sets on which
 we can generate reports.
 
Protobuf type google.cloud.migrationcenter.v1.ReportConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReportConfig.Builder>
    • clear

      public ReportConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReportConfig.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.GeneratedMessage.Builder<ReportConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public ReportConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReportConfig.Builder>
    • mergeFrom

      public ReportConfig.Builder mergeFrom(ReportConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReportConfig.Builder>
    • mergeFrom

      public ReportConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReportConfig.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface ReportConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface ReportConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ReportConfig.Builder setName(String value)
       Output only. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ReportConfig.Builder clearName()
       Output only. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ReportConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ReportConfigOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ReportConfigOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ReportConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ReportConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ReportConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ReportConfig.Builder clearCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ReportConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ReportConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ReportConfigOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ReportConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ReportConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ReportConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ReportConfig.Builder clearUpdateTime()
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ReportConfigOrBuilder
    • getDisplayName

      public String getDisplayName()
       User-friendly display name. Maximum length is 63 characters.
       
      string display_name = 4;
      Specified by:
      getDisplayName in interface ReportConfigOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       User-friendly display name. Maximum length is 63 characters.
       
      string display_name = 4;
      Specified by:
      getDisplayNameBytes in interface ReportConfigOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public ReportConfig.Builder setDisplayName(String value)
       User-friendly display name. Maximum length is 63 characters.
       
      string display_name = 4;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public ReportConfig.Builder clearDisplayName()
       User-friendly display name. Maximum length is 63 characters.
       
      string display_name = 4;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public ReportConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       User-friendly display name. Maximum length is 63 characters.
       
      string display_name = 4;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Free-text description.
       
      string description = 5;
      Specified by:
      getDescription in interface ReportConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Free-text description.
       
      string description = 5;
      Specified by:
      getDescriptionBytes in interface ReportConfigOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ReportConfig.Builder setDescription(String value)
       Free-text description.
       
      string description = 5;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ReportConfig.Builder clearDescription()
       Free-text description.
       
      string description = 5;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ReportConfig.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Free-text description.
       
      string description = 5;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getGroupPreferencesetAssignmentsList

      public List<ReportConfig.GroupPreferenceSetAssignment> getGroupPreferencesetAssignmentsList()
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGroupPreferencesetAssignmentsList in interface ReportConfigOrBuilder
    • getGroupPreferencesetAssignmentsCount

      public int getGroupPreferencesetAssignmentsCount()
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGroupPreferencesetAssignmentsCount in interface ReportConfigOrBuilder
    • getGroupPreferencesetAssignments

      public ReportConfig.GroupPreferenceSetAssignment getGroupPreferencesetAssignments(int index)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGroupPreferencesetAssignments in interface ReportConfigOrBuilder
    • setGroupPreferencesetAssignments

      public ReportConfig.Builder setGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment value)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • setGroupPreferencesetAssignments

      public ReportConfig.Builder setGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment.Builder builderForValue)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • addGroupPreferencesetAssignments

      public ReportConfig.Builder addGroupPreferencesetAssignments(ReportConfig.GroupPreferenceSetAssignment value)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • addGroupPreferencesetAssignments

      public ReportConfig.Builder addGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment value)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • addGroupPreferencesetAssignments

      public ReportConfig.Builder addGroupPreferencesetAssignments(ReportConfig.GroupPreferenceSetAssignment.Builder builderForValue)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • addGroupPreferencesetAssignments

      public ReportConfig.Builder addGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment.Builder builderForValue)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • addAllGroupPreferencesetAssignments

      public ReportConfig.Builder addAllGroupPreferencesetAssignments(Iterable<? extends ReportConfig.GroupPreferenceSetAssignment> values)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • clearGroupPreferencesetAssignments

      public ReportConfig.Builder clearGroupPreferencesetAssignments()
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • removeGroupPreferencesetAssignments

      public ReportConfig.Builder removeGroupPreferencesetAssignments(int index)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • getGroupPreferencesetAssignmentsBuilder

      public ReportConfig.GroupPreferenceSetAssignment.Builder getGroupPreferencesetAssignmentsBuilder(int index)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • getGroupPreferencesetAssignmentsOrBuilder

      public ReportConfig.GroupPreferenceSetAssignmentOrBuilder getGroupPreferencesetAssignmentsOrBuilder(int index)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGroupPreferencesetAssignmentsOrBuilder in interface ReportConfigOrBuilder
    • getGroupPreferencesetAssignmentsOrBuilderList

      public List<? extends ReportConfig.GroupPreferenceSetAssignmentOrBuilder> getGroupPreferencesetAssignmentsOrBuilderList()
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGroupPreferencesetAssignmentsOrBuilderList in interface ReportConfigOrBuilder
    • addGroupPreferencesetAssignmentsBuilder

      public ReportConfig.GroupPreferenceSetAssignment.Builder addGroupPreferencesetAssignmentsBuilder()
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • addGroupPreferencesetAssignmentsBuilder

      public ReportConfig.GroupPreferenceSetAssignment.Builder addGroupPreferencesetAssignmentsBuilder(int index)
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];
    • getGroupPreferencesetAssignmentsBuilderList

      public List<ReportConfig.GroupPreferenceSetAssignment.Builder> getGroupPreferencesetAssignmentsBuilderList()
       Required. Collection of combinations of groups and preference sets.
       
      repeated .google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment group_preferenceset_assignments = 6 [(.google.api.field_behavior) = REQUIRED];