public static final class Settings.Builder extends GeneratedMessageV3.Builder<Settings.Builder> implements SettingsOrBuilder
Describes the Migration Center settings related to the project.
Protobuf type google.cloud.migrationcenter.v1.Settings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Settings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Settings buildPartial()
clear()
public Settings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Settings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Settings.Builder clearName()
Output only. The name of the resource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public Settings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPreferenceSet()
public Settings.Builder clearPreferenceSet()
The preference set used by default for a project.
string preference_set = 2 [(.google.api.resource_reference) = { ... }
clone()
public Settings.Builder clone()
Overrides
getDefaultInstanceForType()
public Settings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Output only. The name of the resource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the resource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getPreferenceSet()
public String getPreferenceSet()
The preference set used by default for a project.
string preference_set = 2 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The preferenceSet.
|
getPreferenceSetBytes()
public ByteString getPreferenceSetBytes()
The preference set used by default for a project.
string preference_set = 2 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for preferenceSet.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Settings other)
public Settings.Builder mergeFrom(Settings other)
public Settings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Settings.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Settings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Settings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public Settings.Builder setName(String value)
Output only. The name of the resource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public Settings.Builder setNameBytes(ByteString value)
Output only. The name of the resource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setPreferenceSet(String value)
public Settings.Builder setPreferenceSet(String value)
The preference set used by default for a project.
string preference_set = 2 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The preferenceSet to set.
|
setPreferenceSetBytes(ByteString value)
public Settings.Builder setPreferenceSetBytes(ByteString value)
The preference set used by default for a project.
string preference_set = 2 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for preferenceSet to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Settings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Settings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides