Class Report.Builder

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

public static final class Report.Builder extends com.google.protobuf.GeneratedMessage.Builder<Report.Builder> implements ReportOrBuilder
 Report represents a point-in-time rendering of the ReportConfig results.
 
Protobuf type google.cloud.migrationcenter.v1.Report
  • 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<Report.Builder>
    • clear

      public Report.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<Report.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<Report.Builder>
    • getDefaultInstanceForType

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

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

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

      public Report.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<Report.Builder>
    • mergeFrom

      public Report.Builder mergeFrom(Report other)
    • isInitialized

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

      public Report.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<Report.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 ReportOrBuilder
      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 ReportOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Report.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 Report.Builder clearName()
       Output only. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Report.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. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ReportOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ReportOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Report.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Report.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Report.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Report.Builder clearCreateTime()
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ReportOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ReportOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ReportOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Report.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Report.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Report.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Report.Builder clearUpdateTime()
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ReportOrBuilder
    • getDisplayName

      public String getDisplayName()
       User-friendly display name. Maximum length is 63 characters.
       
      string display_name = 4;
      Specified by:
      getDisplayName in interface ReportOrBuilder
      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 ReportOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Report.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 Report.Builder clearDisplayName()
       User-friendly display name. Maximum length is 63 characters.
       
      string display_name = 4;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Report.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 ReportOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

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

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

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

      public Report.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.
    • getTypeValue

      public int getTypeValue()
       Report type.
       
      .google.cloud.migrationcenter.v1.Report.Type type = 6;
      Specified by:
      getTypeValue in interface ReportOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Report.Builder setTypeValue(int value)
       Report type.
       
      .google.cloud.migrationcenter.v1.Report.Type type = 6;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public Report.Type getType()
       Report type.
       
      .google.cloud.migrationcenter.v1.Report.Type type = 6;
      Specified by:
      getType in interface ReportOrBuilder
      Returns:
      The type.
    • setType

      public Report.Builder setType(Report.Type value)
       Report type.
       
      .google.cloud.migrationcenter.v1.Report.Type type = 6;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Report.Builder clearType()
       Report type.
       
      .google.cloud.migrationcenter.v1.Report.Type type = 6;
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Report creation state.
       
      .google.cloud.migrationcenter.v1.Report.State state = 7;
      Specified by:
      getStateValue in interface ReportOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Report.Builder setStateValue(int value)
       Report creation state.
       
      .google.cloud.migrationcenter.v1.Report.State state = 7;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Report.State getState()
       Report creation state.
       
      .google.cloud.migrationcenter.v1.Report.State state = 7;
      Specified by:
      getState in interface ReportOrBuilder
      Returns:
      The state.
    • setState

      public Report.Builder setState(Report.State value)
       Report creation state.
       
      .google.cloud.migrationcenter.v1.Report.State state = 7;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Report.Builder clearState()
       Report creation state.
       
      .google.cloud.migrationcenter.v1.Report.State state = 7;
      Returns:
      This builder for chaining.
    • hasSummary

      public boolean hasSummary()
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSummary in interface ReportOrBuilder
      Returns:
      Whether the summary field is set.
    • getSummary

      public ReportSummary getSummary()
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSummary in interface ReportOrBuilder
      Returns:
      The summary.
    • setSummary

      public Report.Builder setSummary(ReportSummary value)
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSummary

      public Report.Builder setSummary(ReportSummary.Builder builderForValue)
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeSummary

      public Report.Builder mergeSummary(ReportSummary value)
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSummary

      public Report.Builder clearSummary()
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSummaryBuilder

      public ReportSummary.Builder getSummaryBuilder()
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSummaryOrBuilder

      public ReportSummaryOrBuilder getSummaryOrBuilder()
       Output only. Summary view of the Report.
       
      .google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSummaryOrBuilder in interface ReportOrBuilder