public static final class GetRouterRequest.Builder extends GeneratedMessage.Builder<GetRouterRequest.Builder> implements GetRouterRequestOrBuilderA request message for Routers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouterRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetRouterRequest.BuilderImplements
GetRouterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetRouterRequest build()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest |
|
buildPartial()
public GetRouterRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest |
|
clear()
public GetRouterRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
clearProject()
public GetRouterRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
clearRegion()
public GetRouterRequest.Builder clearRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
clearRouter()
public GetRouterRequest.Builder clearRouter()Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetRouterRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getRegion()
public String getRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getRouter()
public String getRouter()Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The router. |
getRouterBytes()
public ByteString getRouterBytes()Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for router. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetRouterRequest other)
public GetRouterRequest.Builder mergeFrom(GetRouterRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetRouterRequest |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetRouterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetRouterRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
setProject(String value)
public GetRouterRequest.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 |
GetRouterRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetRouterRequest.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 |
GetRouterRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetRouterRequest.Builder setRegion(String value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetRouterRequest.Builder setRegionBytes(ByteString value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setRouter(String value)
public GetRouterRequest.Builder setRouter(String value)Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe router to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setRouterBytes(ByteString value)
public GetRouterRequest.Builder setRouterBytes(ByteString value)Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for router to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |