Class ReportConfig.Builder (0.28.0)

public static final class ReportConfig.Builder extends GeneratedMessageV3.Builder<ReportConfig.Builder> implements ReportConfigOrBuilder

The groups and associated preference sets on which we can generate reports.

Protobuf type google.cloud.migrationcenter.v1.ReportConfig

Static Methods

getDescriptor()

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

Methods

addAllGroupPreferencesetAssignments(Iterable<? extends ReportConfig.GroupPreferenceSetAssignment> values)

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment>
Returns
Type Description
ReportConfig.Builder

addGroupPreferencesetAssignments(ReportConfig.GroupPreferenceSetAssignment value)

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

Parameter
Name Description
value ReportConfig.GroupPreferenceSetAssignment
Returns
Type Description
ReportConfig.Builder

addGroupPreferencesetAssignments(ReportConfig.GroupPreferenceSetAssignment.Builder builderForValue)

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

Parameter
Name Description
builderForValue ReportConfig.GroupPreferenceSetAssignment.Builder
Returns
Type Description
ReportConfig.Builder

addGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment value)

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

Parameters
Name Description
index int
value ReportConfig.GroupPreferenceSetAssignment
Returns
Type Description
ReportConfig.Builder

addGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue ReportConfig.GroupPreferenceSetAssignment.Builder
Returns
Type Description
ReportConfig.Builder

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

Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

addGroupPreferencesetAssignmentsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportConfig build()
Returns
Type Description
ReportConfig

buildPartial()

public ReportConfig buildPartial()
Returns
Type Description
ReportConfig

clear()

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

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

Returns
Type Description
ReportConfig.Builder

clearDescription()

public ReportConfig.Builder clearDescription()

Free-text description.

string description = 5;

Returns
Type Description
ReportConfig.Builder

This builder for chaining.

clearDisplayName()

public ReportConfig.Builder clearDisplayName()

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

string display_name = 4;

Returns
Type Description
ReportConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

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

Returns
Type Description
ReportConfig.Builder

clearName()

public ReportConfig.Builder clearName()

Output only. Name of resource.

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

Returns
Type Description
ReportConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

Returns
Type Description
ReportConfig.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp when the resource was created.

.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. The timestamp when the resource was created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp when the resource was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ReportConfig getDefaultInstanceForType()
Returns
Type Description
ReportConfig

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.

getGroupPreferencesetAssignments(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment

getGroupPreferencesetAssignmentsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

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

Returns
Type Description
List<Builder>

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

Returns
Type Description
int

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

Returns
Type Description
List<GroupPreferenceSetAssignment>

getGroupPreferencesetAssignmentsOrBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.GroupPreferenceSetAssignmentOrBuilder

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

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignmentOrBuilder>

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.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp when the resource was last updated.

.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. The timestamp when the resource was last updated.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the resource was last updated.

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

Returns
Type Description
TimestampOrBuilder

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

Returns
Type Description
boolean

Whether the createTime field is set.

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

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 ReportConfig.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp when the resource was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportConfig.Builder

mergeFrom(ReportConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ReportConfig.Builder mergeUpdateTime(Timestamp value)

Output only. The timestamp when the resource was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportConfig.Builder

removeGroupPreferencesetAssignments(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ReportConfig.Builder

setCreateTime(Timestamp value)

public ReportConfig.Builder setCreateTime(Timestamp value)

Output only. The timestamp when the resource was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportConfig.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ReportConfig.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the resource was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReportConfig.Builder

setDescription(String value)

public ReportConfig.Builder setDescription(String value)

Free-text description.

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ReportConfig.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ReportConfig.Builder setDescriptionBytes(ByteString value)

Free-text description.

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ReportConfig.Builder

This builder for chaining.

setDisplayName(String value)

public ReportConfig.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
ReportConfig.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ReportConfig.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
ReportConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment value)

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

Parameters
Name Description
index int
value ReportConfig.GroupPreferenceSetAssignment
Returns
Type Description
ReportConfig.Builder

setGroupPreferencesetAssignments(int index, ReportConfig.GroupPreferenceSetAssignment.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue ReportConfig.GroupPreferenceSetAssignment.Builder
Returns
Type Description
ReportConfig.Builder

setName(String value)

public ReportConfig.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
ReportConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReportConfig.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
ReportConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ReportConfig.Builder setUpdateTime(Timestamp value)

Output only. The timestamp when the resource was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportConfig.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ReportConfig.Builder setUpdateTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReportConfig.Builder