public static final class GetGlobalForwardingRuleRequest.Builder extends GeneratedMessage.Builder<GetGlobalForwardingRuleRequest.Builder> implements GetGlobalForwardingRuleRequestOrBuilderA request message for GlobalForwardingRules.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalForwardingRuleRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetGlobalForwardingRuleRequest.BuilderImplements
GetGlobalForwardingRuleRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetGlobalForwardingRuleRequest build()| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest |
|
buildPartial()
public GetGlobalForwardingRuleRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest |
|
clear()
public GetGlobalForwardingRuleRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
|
clearForwardingRule()
public GetGlobalForwardingRuleRequest.Builder clearForwardingRule()Name of the ForwardingRule resource to return.
string forwarding_rule = 269964030 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
This builder for chaining. |
clearProject()
public GetGlobalForwardingRuleRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetGlobalForwardingRuleRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getForwardingRule()
public String getForwardingRule()Name of the ForwardingRule resource to return.
string forwarding_rule = 269964030 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The forwardingRule. |
getForwardingRuleBytes()
public ByteString getForwardingRuleBytes()Name of the ForwardingRule resource to return.
string forwarding_rule = 269964030 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for forwardingRule. |
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetGlobalForwardingRuleRequest other)
public GetGlobalForwardingRuleRequest.Builder mergeFrom(GetGlobalForwardingRuleRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetGlobalForwardingRuleRequest |
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetGlobalForwardingRuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetGlobalForwardingRuleRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
|
setForwardingRule(String value)
public GetGlobalForwardingRuleRequest.Builder setForwardingRule(String value)Name of the ForwardingRule resource to return.
string forwarding_rule = 269964030 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe forwardingRule to set. |
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
This builder for chaining. |
setForwardingRuleBytes(ByteString value)
public GetGlobalForwardingRuleRequest.Builder setForwardingRuleBytes(ByteString value)Name of the ForwardingRule resource to return.
string forwarding_rule = 269964030 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for forwardingRule to set. |
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetGlobalForwardingRuleRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetGlobalForwardingRuleRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetGlobalForwardingRuleRequest.Builder |
This builder for chaining. |