Send feedback
Class CustomHttpPattern.Builder (2.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.28.0 keyboard_arrow_down
public static final class CustomHttpPattern . Builder extends GeneratedMessageV3 . Builder<CustomHttpPattern . Builder > implements CustomHttpPatternOrBuilder
A custom pattern is used for defining custom HTTP verb.
Protobuf type google.api.CustomHttpPattern
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CustomHttpPattern build ()
buildPartial()
public CustomHttpPattern buildPartial ()
clear()
public CustomHttpPattern . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomHttpPattern . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearKind()
public CustomHttpPattern . Builder clearKind ()
The name of this custom HTTP verb.
string kind = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomHttpPattern . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPath()
public CustomHttpPattern . Builder clearPath ()
The path matched by this custom verb.
string path = 2;
clone()
public CustomHttpPattern . Builder clone ()
Overrides
getDefaultInstanceForType()
public CustomHttpPattern getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getKind()
The name of this custom HTTP verb.
string kind = 1;
Returns Type Description String
The kind.
getKindBytes()
public ByteString getKindBytes ()
The name of this custom HTTP verb.
string kind = 1;
Returns Type Description ByteString
The bytes for kind.
getPath()
The path matched by this custom verb.
string path = 2;
Returns Type Description String
The path.
getPathBytes()
public ByteString getPathBytes ()
The path matched by this custom verb.
string path = 2;
Returns Type Description ByteString
The bytes for path.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CustomHttpPattern other)
public CustomHttpPattern . Builder mergeFrom ( CustomHttpPattern other )
public CustomHttpPattern . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CustomHttpPattern . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setKind(String value)
public CustomHttpPattern . Builder setKind ( String value )
The name of this custom HTTP verb.
string kind = 1;
Parameter Name Description value
String
The kind to set.
setKindBytes(ByteString value)
public CustomHttpPattern . Builder setKindBytes ( ByteString value )
The name of this custom HTTP verb.
string kind = 1;
Parameter Name Description value
ByteString
The bytes for kind to set.
setPath(String value)
public CustomHttpPattern . Builder setPath ( String value )
The path matched by this custom verb.
string path = 2;
Parameter Name Description value
String
The path to set.
setPathBytes(ByteString value)
public CustomHttpPattern . Builder setPathBytes ( ByteString value )
The path matched by this custom verb.
string path = 2;
Parameter Name Description value
ByteString
The bytes for path to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomHttpPattern . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]