public static final class ConfigSync.Builder extends GeneratedMessageV3.Builder<ConfigSync.Builder> implements ConfigSyncOrBuilder
Configuration for Config Sync
Protobuf type google.cloud.gkehub.configmanagement.v1alpha.ConfigSync
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfigSync.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConfigSync build()
Returns
buildPartial()
public ConfigSync buildPartial()
Returns
clear()
public ConfigSync.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConfigSync.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGit()
public ConfigSync.Builder clearGit()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfigSync.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ConfigSync.Builder clearSourceFormat()
Specifies whether the Config Sync Repo is
in \u201chierarchical\u201d or \u201cunstructured\u201d mode.
string source_format = 8;
Returns
clone()
public ConfigSync.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ConfigSync getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGit()
public GitConfig getGit()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Returns
getGitBuilder()
public GitConfig.Builder getGitBuilder()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Returns
getGitOrBuilder()
public GitConfigOrBuilder getGitOrBuilder()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Returns
public String getSourceFormat()
Specifies whether the Config Sync Repo is
in \u201chierarchical\u201d or \u201cunstructured\u201d mode.
string source_format = 8;
Returns
Type | Description |
String | The sourceFormat.
|
public ByteString getSourceFormatBytes()
Specifies whether the Config Sync Repo is
in \u201chierarchical\u201d or \u201cunstructured\u201d mode.
string source_format = 8;
Returns
Type | Description |
ByteString | The bytes for sourceFormat.
|
hasGit()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Returns
Type | Description |
boolean | Whether the git field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ConfigSync other)
public ConfigSync.Builder mergeFrom(ConfigSync other)
Parameter
Returns
public ConfigSync.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConfigSync.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGit(GitConfig value)
public ConfigSync.Builder mergeGit(GitConfig value)
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfigSync.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConfigSync.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGit(GitConfig value)
public ConfigSync.Builder setGit(GitConfig value)
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Parameter
Returns
setGit(GitConfig.Builder builderForValue)
public ConfigSync.Builder setGit(GitConfig.Builder builderForValue)
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConfigSync.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ConfigSync.Builder setSourceFormat(String value)
Specifies whether the Config Sync Repo is
in \u201chierarchical\u201d or \u201cunstructured\u201d mode.
string source_format = 8;
Parameter
Name | Description |
value | String
The sourceFormat to set.
|
Returns
public ConfigSync.Builder setSourceFormatBytes(ByteString value)
Specifies whether the Config Sync Repo is
in \u201chierarchical\u201d or \u201cunstructured\u201d mode.
string source_format = 8;
Parameter
Name | Description |
value | ByteString
The bytes for sourceFormat to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfigSync.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides