Class ReportConfig.GroupPreferenceSetAssignment.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportConfig.GroupPreferenceSetAssignment build()
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment

buildPartial()

public ReportConfig.GroupPreferenceSetAssignment buildPartial()
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment

clear()

public ReportConfig.GroupPreferenceSetAssignment.Builder clear()
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReportConfig.GroupPreferenceSetAssignment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportConfig.GroupPreferenceSetAssignment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder

This builder for chaining.

clone()

public ReportConfig.GroupPreferenceSetAssignment.Builder clone()
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder
Overrides

getDefaultInstanceForType()

public ReportConfig.GroupPreferenceSetAssignment getDefaultInstanceForType()
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGroup()

public String getGroup()

Required. Name of the group.

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

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

The bytes for preferenceSet.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportConfig.GroupPreferenceSetAssignment other)

public ReportConfig.GroupPreferenceSetAssignment.Builder mergeFrom(ReportConfig.GroupPreferenceSetAssignment other)
Parameter
NameDescription
otherReportConfig.GroupPreferenceSetAssignment
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReportConfig.GroupPreferenceSetAssignment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportConfig.GroupPreferenceSetAssignment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The group to set.

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

The bytes for group to set.

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

The preferenceSet to set.

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

The bytes for preferenceSet to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportConfig.GroupPreferenceSetAssignment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportConfig.GroupPreferenceSetAssignment.Builder
Overrides