Class Report.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Report.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Report.Builder
Overrides

build()

public Report build()
Returns
TypeDescription
Report

buildPartial()

public Report buildPartial()
Returns
TypeDescription
Report

clear()

public Report.Builder clear()
Returns
TypeDescription
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
TypeDescription
Report.Builder

clearDescription()

public Report.Builder clearDescription()

Free-text description.

string description = 5;

Returns
TypeDescription
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
TypeDescription
Report.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Report.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Report.Builder
Overrides

clearName()

public Report.Builder clearName()

Output only. Name of resource.

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

Returns
TypeDescription
Report.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Report.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Report.Builder
Overrides

clearState()

public Report.Builder clearState()

Report creation state.

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

Returns
TypeDescription
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
TypeDescription
Report.Builder

clearType()

public Report.Builder clearType()

Report type.

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

Returns
TypeDescription
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
TypeDescription
Report.Builder

clone()

public Report.Builder clone()
Returns
TypeDescription
Report.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation timestamp.

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

Returns
TypeDescription
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
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation timestamp.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Report getDefaultInstanceForType()
Returns
TypeDescription
Report

getDescription()

public String getDescription()

Free-text description.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Free-text description.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

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

string display_name = 4;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

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

string display_name = 4;

Returns
TypeDescription
ByteString

The bytes for displayName.

getName()

public String getName()

Output only. Name of resource.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of resource.

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

Returns
TypeDescription
ByteString

The bytes for name.

getState()

public Report.State getState()

Report creation state.

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

Returns
TypeDescription
Report.State

The state.

getStateValue()

public int getStateValue()

Report creation state.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ReportSummaryOrBuilder

getType()

public Report.Type getType()

Report type.

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

Returns
TypeDescription
Report.Type

The type.

getTypeValue()

public int getTypeValue()

Report type.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update timestamp.

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

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation timestamp.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Report.Builder

mergeFrom(Report other)

public Report.Builder mergeFrom(Report other)
Parameter
NameDescription
otherReport
Returns
TypeDescription
Report.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Report.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Report.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Report.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueReportSummary
Returns
TypeDescription
Report.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Report.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Report.Builder

setDescription(String value)

public Report.Builder setDescription(String value)

Free-text description.

string description = 5;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Report.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Report.Builder setDescriptionBytes(ByteString value)

Free-text description.

string description = 5;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Report.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Report.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueReport.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueReportSummary
Returns
TypeDescription
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
NameDescription
builderForValueReportSummary.Builder
Returns
TypeDescription
Report.Builder

setType(Report.Type value)

public Report.Builder setType(Report.Type value)

Report type.

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

Parameter
NameDescription
valueReport.Type

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Report.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Report.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Report.Builder