Class Report.Builder (0.26.0)

public static final class Report.Builder extends GeneratedMessageV3.Builder<Report.Builder> implements ReportOrBuilder

Report represents a point-in-time rendering of the ReportConfig results.

Protobuf type google.cloud.migrationcenter.v1.Report

Implements

ReportOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Report.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Report.Builder
Overrides

build()

public Report build()
Returns
Type Description
Report

buildPartial()

public Report buildPartial()
Returns
Type Description
Report

clear()

public Report.Builder clear()
Returns
Type Description
Report.Builder
Overrides

clearCreateTime()

public Report.Builder clearCreateTime()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Report.Builder

clearDescription()

public Report.Builder clearDescription()

Free-text description.

string description = 5;

Returns
Type Description
Report.Builder

This builder for chaining.

clearDisplayName()

public Report.Builder clearDisplayName()

User-friendly display name. Maximum length is 63 characters.

string display_name = 4;

Returns
Type Description
Report.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Report.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Report.Builder
Overrides

clearName()

public Report.Builder clearName()

Output only. Name of resource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Report.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Report.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Report.Builder
Overrides

clearState()

public Report.Builder clearState()

Report creation state.

.google.cloud.migrationcenter.v1.Report.State state = 7;

Returns
Type Description
Report.Builder

This builder for chaining.

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

Returns
Type Description
Report.Builder

clearType()

public Report.Builder clearType()

Report type.

.google.cloud.migrationcenter.v1.Report.Type type = 6;

Returns
Type Description
Report.Builder

This builder for chaining.

clearUpdateTime()

public Report.Builder clearUpdateTime()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Report.Builder

clone()

public Report.Builder clone()
Returns
Type Description
Report.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Report getDefaultInstanceForType()
Returns
Type Description
Report

getDescription()

public String getDescription()

Free-text description.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Free-text description.

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

User-friendly display name. Maximum length is 63 characters.

string display_name = 4;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

User-friendly display name. Maximum length is 63 characters.

string display_name = 4;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Output only. Name of resource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of resource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getState()

public Report.State getState()

Report creation state.

.google.cloud.migrationcenter.v1.Report.State state = 7;

Returns
Type Description
Report.State

The state.

getStateValue()

public int getStateValue()

Report creation state.

.google.cloud.migrationcenter.v1.Report.State state = 7;

Returns
Type Description
int

The enum numeric value on the wire for state.

getSummary()

public ReportSummary getSummary()

Output only. Summary view of the Report.

.google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary

The summary.

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

Returns
Type Description
ReportSummary.Builder

getSummaryOrBuilder()

public ReportSummaryOrBuilder getSummaryOrBuilder()

Output only. Summary view of the Report.

.google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummaryOrBuilder

getType()

public Report.Type getType()

Report type.

.google.cloud.migrationcenter.v1.Report.Type type = 6;

Returns
Type Description
Report.Type

The type.

getTypeValue()

public int getTypeValue()

Report type.

.google.cloud.migrationcenter.v1.Report.Type type = 6;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSummary()

public boolean hasSummary()

Output only. Summary view of the Report.

.google.cloud.migrationcenter.v1.ReportSummary summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the summary field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Report.Builder mergeCreateTime(Timestamp value)

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

mergeFrom(Report other)

public Report.Builder mergeFrom(Report other)
Parameter
Name Description
other Report
Returns
Type Description
Report.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Report.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Report.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Report.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Report.Builder
Overrides

mergeSummary(ReportSummary value)

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

Parameter
Name Description
value ReportSummary
Returns
Type Description
Report.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Report.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Report.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Report.Builder mergeUpdateTime(Timestamp value)

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

setCreateTime(Timestamp value)

public Report.Builder setCreateTime(Timestamp value)

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Report.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Report.Builder

setDescription(String value)

public Report.Builder setDescription(String value)

Free-text description.

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Report.Builder setDescriptionBytes(ByteString value)

Free-text description.

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setDisplayName(String value)

public Report.Builder setDisplayName(String value)

User-friendly display name. Maximum length is 63 characters.

string display_name = 4;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Report.Builder setDisplayNameBytes(ByteString value)

User-friendly display name. Maximum length is 63 characters.

string display_name = 4;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Report.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Report.Builder
Overrides

setName(String value)

public Report.Builder setName(String value)

Output only. Name of resource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Report.Builder setNameBytes(ByteString value)

Output only. Name of resource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Report.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Report.Builder
Overrides

setState(Report.State value)

public Report.Builder setState(Report.State value)

Report creation state.

.google.cloud.migrationcenter.v1.Report.State state = 7;

Parameter
Name Description
value Report.State

The state to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setStateValue(int value)

public Report.Builder setStateValue(int value)

Report creation state.

.google.cloud.migrationcenter.v1.Report.State state = 7;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setSummary(ReportSummary value)

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

Parameter
Name Description
value ReportSummary
Returns
Type Description
Report.Builder

setSummary(ReportSummary.Builder builderForValue)

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

Parameter
Name Description
builderForValue ReportSummary.Builder
Returns
Type Description
Report.Builder

setType(Report.Type value)

public Report.Builder setType(Report.Type value)

Report type.

.google.cloud.migrationcenter.v1.Report.Type type = 6;

Parameter
Name Description
value Report.Type

The type to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setTypeValue(int value)

public Report.Builder setTypeValue(int value)

Report type.

.google.cloud.migrationcenter.v1.Report.Type type = 6;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Report.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Report.Builder
Overrides

setUpdateTime(Timestamp value)

public Report.Builder setUpdateTime(Timestamp value)

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Report.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Report.Builder