public static final class GoogleServiceInfo.Builder extends GeneratedMessage.Builder<GoogleServiceInfo.Builder> implements GoogleServiceInfoOrBuilderFor display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths
Protobuf type google.cloud.networkmanagement.v1.GoogleServiceInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GoogleServiceInfo.BuilderImplements
GoogleServiceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GoogleServiceInfo build()| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo |
|
buildPartial()
public GoogleServiceInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo |
|
clear()
public GoogleServiceInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
|
clearGoogleServiceType()
public GoogleServiceInfo.Builder clearGoogleServiceType()Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
This builder for chaining. |
clearSourceIp()
public GoogleServiceInfo.Builder clearSourceIp()Source IP address.
string source_ip = 1;
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GoogleServiceInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoogleServiceType()
public GoogleServiceInfo.GoogleServiceType getGoogleServiceType()Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.GoogleServiceType |
The googleServiceType. |
getGoogleServiceTypeValue()
public int getGoogleServiceTypeValue()Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for googleServiceType. |
getSourceIp()
public String getSourceIp()Source IP address.
string source_ip = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceIp. |
getSourceIpBytes()
public ByteString getSourceIpBytes()Source IP address.
string source_ip = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceIp. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GoogleServiceInfo other)
public GoogleServiceInfo.Builder mergeFrom(GoogleServiceInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
GoogleServiceInfo |
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GoogleServiceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GoogleServiceInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
|
setGoogleServiceType(GoogleServiceInfo.GoogleServiceType value)
public GoogleServiceInfo.Builder setGoogleServiceType(GoogleServiceInfo.GoogleServiceType value)Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
GoogleServiceInfo.GoogleServiceTypeThe googleServiceType to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
This builder for chaining. |
setGoogleServiceTypeValue(int value)
public GoogleServiceInfo.Builder setGoogleServiceTypeValue(int value)Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for googleServiceType to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
This builder for chaining. |
setSourceIp(String value)
public GoogleServiceInfo.Builder setSourceIp(String value)Source IP address.
string source_ip = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
This builder for chaining. |
setSourceIpBytes(ByteString value)
public GoogleServiceInfo.Builder setSourceIpBytes(ByteString value)Source IP address.
string source_ip = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleServiceInfo.Builder |
This builder for chaining. |