Class HttpOperationDetails.PathParam.Builder (0.29.0)
public static final class HttpOperationDetails.PathParam.Builder extends GeneratedMessageV3.Builder<HttpOperationDetails.PathParam.Builder> implements HttpOperationDetails.PathParamOrBuilder
HTTP Path parameter.
Protobuf type google.cloud.apihub.v1.HttpOperationDetails.PathParam
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 HttpOperationDetails.PathParam.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HttpOperationDetails.PathParam build()
buildPartial()
public HttpOperationDetails.PathParam buildPartial()
clear()
public HttpOperationDetails.PathParam.Builder clear()
Overrides
clearDataType()
public HttpOperationDetails.PathParam.Builder clearDataType()
Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public HttpOperationDetails.PathParam.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpOperationDetails.PathParam.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPosition()
public HttpOperationDetails.PathParam.Builder clearPosition()
Optional. Segment location in the path, 1-indexed
int32 position = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public HttpOperationDetails.PathParam.Builder clone()
Overrides
getDataType()
public HttpOperationDetails.DataType getDataType()
Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataTypeValue()
public int getDataTypeValue()
Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for dataType.
|
getDefaultInstanceForType()
public HttpOperationDetails.PathParam getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPosition()
Optional. Segment location in the path, 1-indexed
int32 position = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The position.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HttpOperationDetails.PathParam other)
public HttpOperationDetails.PathParam.Builder mergeFrom(HttpOperationDetails.PathParam other)
public HttpOperationDetails.PathParam.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HttpOperationDetails.PathParam.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpOperationDetails.PathParam.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDataType(HttpOperationDetails.DataType value)
public HttpOperationDetails.PathParam.Builder setDataType(HttpOperationDetails.DataType value)
Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
setDataTypeValue(int value)
public HttpOperationDetails.PathParam.Builder setDataTypeValue(int value)
Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for dataType to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public HttpOperationDetails.PathParam.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPosition(int value)
public HttpOperationDetails.PathParam.Builder setPosition(int value)
Optional. Segment location in the path, 1-indexed
int32 position = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The position to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpOperationDetails.PathParam.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpOperationDetails.PathParam.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]