Class ConfigSync (1.11.0)

public final class ConfigSync extends GeneratedMessageV3 implements ConfigSyncOrBuilder

Configuration for Config Sync

Protobuf type google.cloud.gkehub.configmanagement.v1alpha.ConfigSync

Implements

ConfigSyncOrBuilder

Static Fields

GIT_FIELD_NUMBER

public static final int GIT_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_FORMAT_FIELD_NUMBER

public static final int SOURCE_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConfigSync getDefaultInstance()
Returns
TypeDescription
ConfigSync

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConfigSync.Builder newBuilder()
Returns
TypeDescription
ConfigSync.Builder

newBuilder(ConfigSync prototype)

public static ConfigSync.Builder newBuilder(ConfigSync prototype)
Parameter
NameDescription
prototypeConfigSync
Returns
TypeDescription
ConfigSync.Builder

parseDelimitedFrom(InputStream input)

public static ConfigSync parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigSync parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConfigSync parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConfigSync parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConfigSync parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConfigSync parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConfigSync parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigSync parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConfigSync parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigSync parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConfigSync parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConfigSync parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConfigSync> parser()
Returns
TypeDescription
Parser<ConfigSync>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ConfigSync getDefaultInstanceForType()
Returns
TypeDescription
ConfigSync

getGit()

public GitConfig getGit()

Git repo configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;

Returns
TypeDescription
GitConfig

The git.

getGitOrBuilder()

public GitConfigOrBuilder getGitOrBuilder()

Git repo configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;

Returns
TypeDescription
GitConfigOrBuilder

getParserForType()

public Parser<ConfigSync> getParserForType()
Returns
TypeDescription
Parser<ConfigSync>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceFormat()

public String getSourceFormat()

Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.

string source_format = 8;

Returns
TypeDescription
String

The sourceFormat.

getSourceFormatBytes()

public ByteString getSourceFormatBytes()

Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.

string source_format = 8;

Returns
TypeDescription
ByteString

The bytes for sourceFormat.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasGit()

public boolean hasGit()

Git repo configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1alpha.GitConfig git = 7;

Returns
TypeDescription
boolean

Whether the git field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConfigSync.Builder newBuilderForType()
Returns
TypeDescription
ConfigSync.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConfigSync.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConfigSync.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConfigSync.Builder toBuilder()
Returns
TypeDescription
ConfigSync.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException