public static final class HTTPGetAction.Builder extends GeneratedMessageV3.Builder<HTTPGetAction.Builder> implements HTTPGetActionOrBuilder
HTTPGetAction describes an action based on HTTP Get requests.
Protobuf type google.cloud.run.v2.HTTPGetAction
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()
Returns
Methods
public HTTPGetAction.Builder addAllHttpHeaders(Iterable<? extends HTTPHeader> values)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.run.v2.HTTPHeader>
|
Returns
public HTTPGetAction.Builder addHttpHeaders(HTTPHeader value)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
public HTTPGetAction.Builder addHttpHeaders(HTTPHeader.Builder builderForValue)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
public HTTPGetAction.Builder addHttpHeaders(int index, HTTPHeader value)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameters
Returns
public HTTPGetAction.Builder addHttpHeaders(int index, HTTPHeader.Builder builderForValue)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameters
Returns
public HTTPHeader.Builder addHttpHeadersBuilder()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
public HTTPHeader.Builder addHttpHeadersBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HTTPGetAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public HTTPGetAction build()
Returns
buildPartial()
public HTTPGetAction buildPartial()
Returns
clear()
public HTTPGetAction.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public HTTPGetAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public HTTPGetAction.Builder clearHttpHeaders()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public HTTPGetAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPath()
public HTTPGetAction.Builder clearPath()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
Returns
clone()
public HTTPGetAction.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public HTTPGetAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public HTTPHeader getHttpHeaders(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
public HTTPHeader.Builder getHttpHeadersBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
public List<HTTPHeader.Builder> getHttpHeadersBuilderList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
public int getHttpHeadersCount()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
public List<HTTPHeader> getHttpHeadersList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
public HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
public List<? extends HTTPHeaderOrBuilder> getHttpHeadersOrBuilderList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
Type | Description |
List<? extends com.google.cloud.run.v2.HTTPHeaderOrBuilder> | |
getPath()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
Returns
Type | Description |
String | The path.
|
getPathBytes()
public ByteString getPathBytes()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(HTTPGetAction other)
public HTTPGetAction.Builder mergeFrom(HTTPGetAction other)
Parameter
Returns
public HTTPGetAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HTTPGetAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HTTPGetAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public HTTPGetAction.Builder removeHttpHeaders(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public HTTPGetAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public HTTPGetAction.Builder setHttpHeaders(int index, HTTPHeader value)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameters
Returns
public HTTPGetAction.Builder setHttpHeaders(int index, HTTPHeader.Builder builderForValue)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameters
Returns
setPath(String value)
public HTTPGetAction.Builder setPath(String value)
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
Parameter
Name | Description |
value | String
The path to set.
|
Returns
setPathBytes(ByteString value)
public HTTPGetAction.Builder setPathBytes(ByteString value)
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
Parameter
Name | Description |
value | ByteString
The bytes for path to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HTTPGetAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HTTPGetAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides