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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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