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()
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>
|
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;
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;
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;
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;
public HTTPHeader.Builder addHttpHeadersBuilder()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HTTPGetAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HTTPGetAction build()
buildPartial()
public HTTPGetAction buildPartial()
clear()
public HTTPGetAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public HTTPGetAction.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public HTTPGetAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPath()
public HTTPGetAction.Builder clearPath()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
clone()
public HTTPGetAction.Builder clone()
Overrides
getDefaultInstanceForType()
public HTTPGetAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
public int getHttpHeadersCount()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns |
---|
Type | Description |
int | |
public List<HTTPHeader> getHttpHeadersList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
ByteString | The bytes for path.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HTTPGetAction other)
public HTTPGetAction.Builder mergeFrom(HTTPGetAction other)
public HTTPGetAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HTTPGetAction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HTTPGetAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public HTTPGetAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HTTPGetAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HTTPGetAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides