Package namespace.cloud.compute.v1beta
Class Compute.HttpMatchRule.HttpMatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.HttpMatchRule.HttpMatch.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.HttpMatch.Builder>
namespace.cloud.compute.v1beta.Compute.HttpMatchRule.HttpMatch.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.HttpMatchRule.HttpMatchOrBuilder
- Enclosing class:
Compute.HttpMatchRule.HttpMatch
public static final class Compute.HttpMatchRule.HttpMatch.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.HttpMatch.Builder>
implements Compute.HttpMatchRule.HttpMatchOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch-
Method Summary
Modifier and TypeMethodDescriptionaddAllMethod(Iterable<String> values) If empty, matches any method.If empty, matches any method.addMethodBytes(com.google.protobuf.ByteString value) If empty, matches any method.build()clear()If empty, matches any method.If empty, matches any path.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMethod(int index) If empty, matches any method.com.google.protobuf.ByteStringgetMethodBytes(int index) If empty, matches any method.intIf empty, matches any method.com.google.protobuf.ProtocolStringListIf empty, matches any method.getPath()If empty, matches any path.com.google.protobuf.ByteStringIf empty, matches any path.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If empty, matches any method.If empty, matches any path.setPathBytes(com.google.protobuf.ByteString value) If empty, matches any path.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<Compute.HttpMatchRule.HttpMatch.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<Compute.HttpMatchRule.HttpMatch.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<Compute.HttpMatchRule.HttpMatch.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<Compute.HttpMatchRule.HttpMatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.HttpMatch.Builder>
-
mergeFrom
public Compute.HttpMatchRule.HttpMatch.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<Compute.HttpMatchRule.HttpMatch.Builder>- Throws:
IOException
-
getMethodList
public com.google.protobuf.ProtocolStringList getMethodList()If empty, matches any method.
repeated string method = 1;- Specified by:
getMethodListin interfaceCompute.HttpMatchRule.HttpMatchOrBuilder- Returns:
- A list containing the method.
-
getMethodCount
public int getMethodCount()If empty, matches any method.
repeated string method = 1;- Specified by:
getMethodCountin interfaceCompute.HttpMatchRule.HttpMatchOrBuilder- Returns:
- The count of method.
-
getMethod
If empty, matches any method.
repeated string method = 1;- Specified by:
getMethodin interfaceCompute.HttpMatchRule.HttpMatchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The method at the given index.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes(int index) If empty, matches any method.
repeated string method = 1;- Specified by:
getMethodBytesin interfaceCompute.HttpMatchRule.HttpMatchOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the method at the given index.
-
setMethod
If empty, matches any method.
repeated string method = 1;- Parameters:
index- The index to set the value at.value- The method to set.- Returns:
- This builder for chaining.
-
addMethod
If empty, matches any method.
repeated string method = 1;- Parameters:
value- The method to add.- Returns:
- This builder for chaining.
-
addAllMethod
If empty, matches any method.
repeated string method = 1;- Parameters:
values- The method to add.- Returns:
- This builder for chaining.
-
clearMethod
If empty, matches any method.
repeated string method = 1;- Returns:
- This builder for chaining.
-
addMethodBytes
If empty, matches any method.
repeated string method = 1;- Parameters:
value- The bytes of the method to add.- Returns:
- This builder for chaining.
-
getPath
If empty, matches any path.
string path = 2;- Specified by:
getPathin interfaceCompute.HttpMatchRule.HttpMatchOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()If empty, matches any path.
string path = 2;- Specified by:
getPathBytesin interfaceCompute.HttpMatchRule.HttpMatchOrBuilder- Returns:
- The bytes for path.
-
setPath
If empty, matches any path.
string path = 2;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
If empty, matches any path.
string path = 2;- Returns:
- This builder for chaining.
-
setPathBytes
If empty, matches any path.
string path = 2;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-