Class ReportConfig.GroupPreferenceSetAssignment.Builder (0.29.0)

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

Represents a combination of a group with a preference set.

Protobuf type google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportConfig.GroupPreferenceSetAssignment build()
Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment

buildPartial()

public ReportConfig.GroupPreferenceSetAssignment buildPartial()
Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGroup()

public ReportConfig.GroupPreferenceSetAssignment.Builder clearGroup()

Required. Name of the group.

string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPreferenceSet()

public ReportConfig.GroupPreferenceSetAssignment.Builder clearPreferenceSet()

Required. Name of the Preference Set.

string preference_set = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReportConfig.GroupPreferenceSetAssignment getDefaultInstanceForType()
Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment

getDescriptorForType()

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

getGroup()

public String getGroup()

Required. Name of the group.

string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Required. Name of the group.

string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for group.

getPreferenceSet()

public String getPreferenceSet()

Required. Name of the Preference Set.

string preference_set = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The preferenceSet.

getPreferenceSetBytes()

public ByteString getPreferenceSetBytes()

Required. Name of the Preference Set.

string preference_set = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for preferenceSet.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportConfig.GroupPreferenceSetAssignment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroup(String value)

public ReportConfig.GroupPreferenceSetAssignment.Builder setGroup(String value)

Required. Name of the group.

string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The group to set.

Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

setGroupBytes(ByteString value)

public ReportConfig.GroupPreferenceSetAssignment.Builder setGroupBytes(ByteString value)

Required. Name of the group.

string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for group to set.

Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

setPreferenceSet(String value)

public ReportConfig.GroupPreferenceSetAssignment.Builder setPreferenceSet(String value)

Required. Name of the Preference Set.

string preference_set = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The preferenceSet to set.

Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

setPreferenceSetBytes(ByteString value)

public ReportConfig.GroupPreferenceSetAssignment.Builder setPreferenceSetBytes(ByteString value)

Required. Name of the Preference Set.

string preference_set = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for preferenceSet to set.

Returns
Type Description
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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