Class GoogleServiceInfo.Builder (1.37.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.v1beta1.GoogleServiceInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GoogleServiceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

build()

public GoogleServiceInfo build()
Returns
TypeDescription
GoogleServiceInfo

buildPartial()

public GoogleServiceInfo buildPartial()
Returns
TypeDescription
GoogleServiceInfo

clear()

public GoogleServiceInfo.Builder clear()
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GoogleServiceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

clearGoogleServiceType()

public GoogleServiceInfo.Builder clearGoogleServiceType()

Recognized type of a Google Service.

.google.cloud.networkmanagement.v1beta1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;

Returns
TypeDescription
GoogleServiceInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GoogleServiceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

clearSourceIp()

public GoogleServiceInfo.Builder clearSourceIp()

Source IP address.

string source_ip = 1;

Returns
TypeDescription
GoogleServiceInfo.Builder

This builder for chaining.

clone()

public GoogleServiceInfo.Builder clone()
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

getDefaultInstanceForType()

public GoogleServiceInfo getDefaultInstanceForType()
Returns
TypeDescription
GoogleServiceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGoogleServiceType()

public GoogleServiceInfo.GoogleServiceType getGoogleServiceType()

Recognized type of a Google Service.

.google.cloud.networkmanagement.v1beta1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;

Returns
TypeDescription
GoogleServiceInfo.GoogleServiceType

The googleServiceType.

getGoogleServiceTypeValue()

public int getGoogleServiceTypeValue()

Recognized type of a Google Service.

.google.cloud.networkmanagement.v1beta1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for googleServiceType.

getSourceIp()

public String getSourceIp()

Source IP address.

string source_ip = 1;

Returns
TypeDescription
String

The sourceIp.

getSourceIpBytes()

public ByteString getSourceIpBytes()

Source IP address.

string source_ip = 1;

Returns
TypeDescription
ByteString

The bytes for sourceIp.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GoogleServiceInfo other)

public GoogleServiceInfo.Builder mergeFrom(GoogleServiceInfo other)
Parameter
NameDescription
otherGoogleServiceInfo
Returns
TypeDescription
GoogleServiceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoogleServiceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GoogleServiceInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GoogleServiceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GoogleServiceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

setGoogleServiceType(GoogleServiceInfo.GoogleServiceType value)

public GoogleServiceInfo.Builder setGoogleServiceType(GoogleServiceInfo.GoogleServiceType value)

Recognized type of a Google Service.

.google.cloud.networkmanagement.v1beta1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;

Parameter
NameDescription
valueGoogleServiceInfo.GoogleServiceType

The googleServiceType to set.

Returns
TypeDescription
GoogleServiceInfo.Builder

This builder for chaining.

setGoogleServiceTypeValue(int value)

public GoogleServiceInfo.Builder setGoogleServiceTypeValue(int value)

Recognized type of a Google Service.

.google.cloud.networkmanagement.v1beta1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides

setSourceIp(String value)

public GoogleServiceInfo.Builder setSourceIp(String value)

Source IP address.

string source_ip = 1;

Parameter
NameDescription
valueString

The sourceIp to set.

Returns
TypeDescription
GoogleServiceInfo.Builder

This builder for chaining.

setSourceIpBytes(ByteString value)

public GoogleServiceInfo.Builder setSourceIpBytes(ByteString value)

Source IP address.

string source_ip = 1;

Parameter
NameDescription
valueByteString

The bytes for sourceIp to set.

Returns
TypeDescription
GoogleServiceInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GoogleServiceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GoogleServiceInfo.Builder
Overrides