Class UpdateConnectivityTestRequest (1.7.0)

public final class UpdateConnectivityTestRequest extends GeneratedMessageV3 implements UpdateConnectivityTestRequestOrBuilder

Request for the UpdateConnectivityTest method.

Protobuf type google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest

Static Fields

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateConnectivityTestRequest getDefaultInstance()
Returns
TypeDescription
UpdateConnectivityTestRequest

getDescriptor()

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

newBuilder()

public static UpdateConnectivityTestRequest.Builder newBuilder()
Returns
TypeDescription
UpdateConnectivityTestRequest.Builder

newBuilder(UpdateConnectivityTestRequest prototype)

public static UpdateConnectivityTestRequest.Builder newBuilder(UpdateConnectivityTestRequest prototype)
Parameter
NameDescription
prototypeUpdateConnectivityTestRequest
Returns
TypeDescription
UpdateConnectivityTestRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateConnectivityTestRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateConnectivityTestRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateConnectivityTestRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateConnectivityTestRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateConnectivityTestRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateConnectivityTestRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateConnectivityTestRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateConnectivityTestRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateConnectivityTestRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateConnectivityTestRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateConnectivityTestRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateConnectivityTestRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConnectivityTestRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateConnectivityTestRequest> parser()
Returns
TypeDescription
Parser<UpdateConnectivityTestRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateConnectivityTestRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConnectivityTestRequest

getParserForType()

public Parser<UpdateConnectivityTestRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateConnectivityTestRequest>
Overrides

getResource()

public ConnectivityTest getResource()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectivityTest

The resource.

getResourceOrBuilder()

public ConnectivityTestOrBuilder getResourceOrBuilder()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectivityTestOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasResource()

public boolean hasResource()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the resource field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateConnectivityTestRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateConnectivityTestRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateConnectivityTestRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateConnectivityTestRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateConnectivityTestRequest.Builder toBuilder()
Returns
TypeDescription
UpdateConnectivityTestRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException