public final class ConfigSync extends GeneratedMessageV3 implements ConfigSyncOrBuilder
Configuration for Config Sync
Protobuf type google.cloud.gkehub.configmanagement.v1beta.ConfigSync
Static Fields
GIT_FIELD_NUMBER
public static final int GIT_FIELD_NUMBER
Field Value
public static final int SOURCE_FORMAT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConfigSync getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConfigSync.Builder newBuilder()
Returns
newBuilder(ConfigSync prototype)
public static ConfigSync.Builder newBuilder(ConfigSync prototype)
Parameter
Returns
public static ConfigSync parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConfigSync parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConfigSync parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConfigSync parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConfigSync parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigSync parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConfigSync parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ConfigSync parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConfigSync parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConfigSync parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConfigSync parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConfigSync parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConfigSync> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ConfigSync getDefaultInstanceForType()
Returns
getGit()
public GitConfig getGit()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1beta.GitConfig git = 7;
Returns
getGitOrBuilder()
public GitConfigOrBuilder getGitOrBuilder()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1beta.GitConfig git = 7;
Returns
getParserForType()
public Parser<ConfigSync> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasGit()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1beta.GitConfig git = 7;
Returns
Type | Description |
boolean | Whether the git field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConfigSync.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConfigSync.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConfigSync.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions