public static final class ConfigFile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder> implements ConfigFileOrBuilder
Generic specification of a source configuration fileProtobuf type
google.api.servicemanagement.v1.ConfigFile| Modifier and Type | Method and Description |
|---|---|
ConfigFile.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConfigFile |
build() |
ConfigFile |
buildPartial() |
ConfigFile.Builder |
clear() |
ConfigFile.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConfigFile.Builder |
clearFileContents()
The bytes that constitute the file.
|
ConfigFile.Builder |
clearFilePath()
The file name of the configuration file (full or relative path).
|
ConfigFile.Builder |
clearFileType()
The type of configuration file this represents.
|
ConfigFile.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConfigFile.Builder |
clone() |
ConfigFile |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getFileContents()
The bytes that constitute the file.
|
java.lang.String |
getFilePath()
The file name of the configuration file (full or relative path).
|
com.google.protobuf.ByteString |
getFilePathBytes()
The file name of the configuration file (full or relative path).
|
ConfigFile.FileType |
getFileType()
The type of configuration file this represents.
|
int |
getFileTypeValue()
The type of configuration file this represents.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConfigFile.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigFile.Builder |
mergeFrom(ConfigFile other) |
ConfigFile.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConfigFile.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConfigFile.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConfigFile.Builder |
setFileContents(com.google.protobuf.ByteString value)
The bytes that constitute the file.
|
ConfigFile.Builder |
setFilePath(java.lang.String value)
The file name of the configuration file (full or relative path).
|
ConfigFile.Builder |
setFilePathBytes(com.google.protobuf.ByteString value)
The file name of the configuration file (full or relative path).
|
ConfigFile.Builder |
setFileType(ConfigFile.FileType value)
The type of configuration file this represents.
|
ConfigFile.Builder |
setFileTypeValue(int value)
The type of configuration file this represents.
|
ConfigFile.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ConfigFile.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConfigFile build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConfigFile buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConfigFile.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigFile.Builder>public ConfigFile.Builder mergeFrom(ConfigFile other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public ConfigFile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigFile.Builder>java.io.IOExceptionpublic java.lang.String getFilePath()
The file name of the configuration file (full or relative path).
string file_path = 1;getFilePath in interface ConfigFileOrBuilderpublic com.google.protobuf.ByteString getFilePathBytes()
The file name of the configuration file (full or relative path).
string file_path = 1;getFilePathBytes in interface ConfigFileOrBuilderpublic ConfigFile.Builder setFilePath(java.lang.String value)
The file name of the configuration file (full or relative path).
string file_path = 1;public ConfigFile.Builder clearFilePath()
The file name of the configuration file (full or relative path).
string file_path = 1;public ConfigFile.Builder setFilePathBytes(com.google.protobuf.ByteString value)
The file name of the configuration file (full or relative path).
string file_path = 1;public com.google.protobuf.ByteString getFileContents()
The bytes that constitute the file.
bytes file_contents = 3;getFileContents in interface ConfigFileOrBuilderpublic ConfigFile.Builder setFileContents(com.google.protobuf.ByteString value)
The bytes that constitute the file.
bytes file_contents = 3;public ConfigFile.Builder clearFileContents()
The bytes that constitute the file.
bytes file_contents = 3;public int getFileTypeValue()
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;getFileTypeValue in interface ConfigFileOrBuilderpublic ConfigFile.Builder setFileTypeValue(int value)
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;public ConfigFile.FileType getFileType()
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;getFileType in interface ConfigFileOrBuilderpublic ConfigFile.Builder setFileType(ConfigFile.FileType value)
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;public ConfigFile.Builder clearFileType()
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;public final ConfigFile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>public final ConfigFile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigFile.Builder>