Class GoogleServiceInfo.Builder (1.45.0)

public static final class GoogleServiceInfo.Builder extends GeneratedMessageV3.Builder<GoogleServiceInfo.Builder> implements GoogleServiceInfoOrBuilder

For 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GoogleServiceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public GoogleServiceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GoogleServiceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

clearSourceIp()

public GoogleServiceInfo.Builder clearSourceIp()

Source IP address.

string source_ip = 1;

Returns
Type Description
GoogleServiceInfo.Builder

This builder for chaining.

clone()

public GoogleServiceInfo.Builder clone()
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

getDefaultInstanceForType()

public GoogleServiceInfo getDefaultInstanceForType()
Returns
Type Description
GoogleServiceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoogleServiceInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GoogleServiceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GoogleServiceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

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.GoogleServiceType

The 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 int

The enum numeric value on the wire for googleServiceType to set.

Returns
Type Description
GoogleServiceInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GoogleServiceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GoogleServiceInfo.Builder
Overrides

setSourceIp(String value)

public GoogleServiceInfo.Builder setSourceIp(String value)

Source IP address.

string source_ip = 1;

Parameter
Name Description
value String

The 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 ByteString

The bytes for sourceIp to set.

Returns
Type Description
GoogleServiceInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GoogleServiceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GoogleServiceInfo.Builder
Overrides