Package s2.v1alpha
Class ResourceSet.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ResourceSet.Builder>
-
- s2.v1alpha.ResourceSet.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,ResourceSetOrBuilder
- Enclosing class:
- ResourceSet
public static final class ResourceSet.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResourceSet.Builder> implements ResourceSetOrBuilder
Set of named resources.
Protobuf types2.v1alpha.ResourceSet
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceSetbuild()ResourceSetbuildPartial()ResourceSet.Builderclear()ResourceSet.BuilderclearExact()Match only the resource with this exact name.ResourceSet.BuilderclearMatching()ResourceSet.BuilderclearPrefix()Match all resources that start with this prefix.ResourceSetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetExact()Match only the resource with this exact name.com.google.protobuf.ByteStringgetExactBytes()Match only the resource with this exact name.ResourceSet.MatchingCasegetMatchingCase()java.lang.StringgetPrefix()Match all resources that start with this prefix.com.google.protobuf.ByteStringgetPrefixBytes()Match all resources that start with this prefix.booleanhasExact()Match only the resource with this exact name.booleanhasPrefix()Match all resources that start with this prefix.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ResourceSet.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ResourceSet.BuildermergeFrom(com.google.protobuf.Message other)ResourceSet.BuildermergeFrom(ResourceSet other)ResourceSet.BuildersetExact(java.lang.String value)Match only the resource with this exact name.ResourceSet.BuildersetExactBytes(com.google.protobuf.ByteString value)Match only the resource with this exact name.ResourceSet.BuildersetPrefix(java.lang.String value)Match all resources that start with this prefix.ResourceSet.BuildersetPrefixBytes(com.google.protobuf.ByteString value)Match all resources that start with this prefix.-
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<ResourceSet.Builder>
-
clear
public ResourceSet.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<ResourceSet.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<ResourceSet.Builder>
-
getDefaultInstanceForType
public ResourceSet getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResourceSet build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResourceSet buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ResourceSet.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceSet.Builder>
-
mergeFrom
public ResourceSet.Builder mergeFrom(ResourceSet other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceSet.Builder>
-
mergeFrom
public ResourceSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceSet.Builder>- Throws:
java.io.IOException
-
getMatchingCase
public ResourceSet.MatchingCase getMatchingCase()
- Specified by:
getMatchingCasein interfaceResourceSetOrBuilder
-
clearMatching
public ResourceSet.Builder clearMatching()
-
hasExact
public boolean hasExact()
Match only the resource with this exact name. Use an empty string to match no resources.
string exact = 1;- Specified by:
hasExactin interfaceResourceSetOrBuilder- Returns:
- Whether the exact field is set.
-
getExact
public java.lang.String getExact()
Match only the resource with this exact name. Use an empty string to match no resources.
string exact = 1;- Specified by:
getExactin interfaceResourceSetOrBuilder- Returns:
- The exact.
-
getExactBytes
public com.google.protobuf.ByteString getExactBytes()
Match only the resource with this exact name. Use an empty string to match no resources.
string exact = 1;- Specified by:
getExactBytesin interfaceResourceSetOrBuilder- Returns:
- The bytes for exact.
-
setExact
public ResourceSet.Builder setExact(java.lang.String value)
Match only the resource with this exact name. Use an empty string to match no resources.
string exact = 1;- Parameters:
value- The exact to set.- Returns:
- This builder for chaining.
-
clearExact
public ResourceSet.Builder clearExact()
Match only the resource with this exact name. Use an empty string to match no resources.
string exact = 1;- Returns:
- This builder for chaining.
-
setExactBytes
public ResourceSet.Builder setExactBytes(com.google.protobuf.ByteString value)
Match only the resource with this exact name. Use an empty string to match no resources.
string exact = 1;- Parameters:
value- The bytes for exact to set.- Returns:
- This builder for chaining.
-
hasPrefix
public boolean hasPrefix()
Match all resources that start with this prefix. Use an empty string to match all resource.
string prefix = 2;- Specified by:
hasPrefixin interfaceResourceSetOrBuilder- Returns:
- Whether the prefix field is set.
-
getPrefix
public java.lang.String getPrefix()
Match all resources that start with this prefix. Use an empty string to match all resource.
string prefix = 2;- Specified by:
getPrefixin interfaceResourceSetOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
Match all resources that start with this prefix. Use an empty string to match all resource.
string prefix = 2;- Specified by:
getPrefixBytesin interfaceResourceSetOrBuilder- Returns:
- The bytes for prefix.
-
setPrefix
public ResourceSet.Builder setPrefix(java.lang.String value)
Match all resources that start with this prefix. Use an empty string to match all resource.
string prefix = 2;- Parameters:
value- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
public ResourceSet.Builder clearPrefix()
Match all resources that start with this prefix. Use an empty string to match all resource.
string prefix = 2;- Returns:
- This builder for chaining.
-
setPrefixBytes
public ResourceSet.Builder setPrefixBytes(com.google.protobuf.ByteString value)
Match all resources that start with this prefix. Use an empty string to match all resource.
string prefix = 2;- Parameters:
value- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
-