public static final class ConfigSync.Builder extends GeneratedMessage.Builder<ConfigSync.Builder> implements ConfigSyncOrBuilderConfiguration for Config Sync
Protobuf type google.cloud.gkehub.configmanagement.v1alpha.ConfigSync
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConfigSync.BuilderImplements
ConfigSyncOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ConfigSync build()| Returns | |
|---|---|
| Type | Description |
ConfigSync |
|
buildPartial()
public ConfigSync buildPartial()| Returns | |
|---|---|
| Type | Description |
ConfigSync |
|
clear()
public ConfigSync.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
clearGit()
public ConfigSync.Builder clearGit()Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
clearSourceFormat()
public ConfigSync.Builder clearSourceFormat()Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
string source_format = 8;
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ConfigSync getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConfigSync |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGit()
public GitConfig getGit()Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
| Returns | |
|---|---|
| Type | Description |
GitConfig |
The git. |
getGitBuilder()
public GitConfig.Builder getGitBuilder()Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
| Returns | |
|---|---|
| Type | Description |
GitConfig.Builder |
|
getGitOrBuilder()
public GitConfigOrBuilder getGitOrBuilder()Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
| Returns | |
|---|---|
| Type | Description |
GitConfigOrBuilder |
|
getSourceFormat()
public String getSourceFormat()Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
string source_format = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceFormat. |
getSourceFormatBytes()
public ByteString getSourceFormatBytes()Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
string source_format = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceFormat. |
hasGit()
public boolean 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ConfigSync other)
public ConfigSync.Builder mergeFrom(ConfigSync other)| Parameter | |
|---|---|
| Name | Description |
other |
ConfigSync |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfigSync.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConfigSync.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
mergeGit(GitConfig value)
public ConfigSync.Builder mergeGit(GitConfig value)Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
GitConfig |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
setGit(GitConfig value)
public ConfigSync.Builder setGit(GitConfig value)Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
GitConfig |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
GitConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
|
setSourceFormat(String value)
public ConfigSync.Builder setSourceFormat(String value)Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
string source_format = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceFormat to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
This builder for chaining. |
setSourceFormatBytes(ByteString value)
public ConfigSync.Builder setSourceFormatBytes(ByteString value)Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
string source_format = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceFormat to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigSync.Builder |
This builder for chaining. |