Class ConfigFile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigFile.Builder>
com.google.api.servicemanagement.v1.ConfigFile.Builder
- All Implemented Interfaces:
ConfigFileOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConfigFile
public static final class ConfigFile.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConfigFile.Builder>
implements ConfigFileOrBuilder
Generic specification of a source configuration fileProtobuf type
google.api.servicemanagement.v1.ConfigFile-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The bytes that constitute the file.The file name of the configuration file (full or relative path).The type of configuration file this represents.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringThe bytes that constitute the file.The file name of the configuration file (full or relative path).com.google.protobuf.ByteStringThe file name of the configuration file (full or relative path).The type of configuration file this represents.intThe type of configuration file this represents.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ConfigFile other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFileContents(com.google.protobuf.ByteString value) The bytes that constitute the file.setFilePath(String value) The file name of the configuration file (full or relative path).setFilePathBytes(com.google.protobuf.ByteString value) The file name of the configuration file (full or relative path).setFileType(ConfigFile.FileType value) The type of configuration file this represents.setFileTypeValue(int value) The type of configuration file this represents.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConfigFile.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConfigFile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConfigFile.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigFile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfigFile.Builder>
-
mergeFrom
public ConfigFile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigFile.Builder>- Throws:
IOException
-
getFilePath
The file name of the configuration file (full or relative path).
string file_path = 1;- Specified by:
getFilePathin interfaceConfigFileOrBuilder- Returns:
- The filePath.
-
getFilePathBytes
public com.google.protobuf.ByteString getFilePathBytes()The file name of the configuration file (full or relative path).
string file_path = 1;- Specified by:
getFilePathBytesin interfaceConfigFileOrBuilder- Returns:
- The bytes for filePath.
-
setFilePath
The file name of the configuration file (full or relative path).
string file_path = 1;- Parameters:
value- The filePath to set.- Returns:
- This builder for chaining.
-
clearFilePath
The file name of the configuration file (full or relative path).
string file_path = 1;- Returns:
- This builder for chaining.
-
setFilePathBytes
The file name of the configuration file (full or relative path).
string file_path = 1;- Parameters:
value- The bytes for filePath to set.- Returns:
- This builder for chaining.
-
getFileContents
public com.google.protobuf.ByteString getFileContents()The bytes that constitute the file.
bytes file_contents = 3;- Specified by:
getFileContentsin interfaceConfigFileOrBuilder- Returns:
- The fileContents.
-
setFileContents
The bytes that constitute the file.
bytes file_contents = 3;- Parameters:
value- The fileContents to set.- Returns:
- This builder for chaining.
-
clearFileContents
The bytes that constitute the file.
bytes file_contents = 3;- Returns:
- This builder for chaining.
-
getFileTypeValue
public int getFileTypeValue()The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;- Specified by:
getFileTypeValuein interfaceConfigFileOrBuilder- Returns:
- The enum numeric value on the wire for fileType.
-
setFileTypeValue
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;- Parameters:
value- The enum numeric value on the wire for fileType to set.- Returns:
- This builder for chaining.
-
getFileType
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;- Specified by:
getFileTypein interfaceConfigFileOrBuilder- Returns:
- The fileType.
-
setFileType
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;- Parameters:
value- The fileType to set.- Returns:
- This builder for chaining.
-
clearFileType
The type of configuration file this represents.
.google.api.servicemanagement.v1.ConfigFile.FileType file_type = 4;- Returns:
- This builder for chaining.
-