Class UpdateInsightTypeConfigRequest (2.21.0)

public final class UpdateInsightTypeConfigRequest extends GeneratedMessageV3 implements UpdateInsightTypeConfigRequestOrBuilder

Request for the UpdateInsightTypeConfig method.

Protobuf type google.cloud.recommender.v1beta1.UpdateInsightTypeConfigRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateInsightTypeConfigRequest

Static Fields

INSIGHT_TYPE_CONFIG_FIELD_NUMBER

public static final int INSIGHT_TYPE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateInsightTypeConfigRequest getDefaultInstance()
Returns
TypeDescription
UpdateInsightTypeConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateInsightTypeConfigRequest prototype)

public static UpdateInsightTypeConfigRequest.Builder newBuilder(UpdateInsightTypeConfigRequest prototype)
Parameter
NameDescription
prototypeUpdateInsightTypeConfigRequest
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateInsightTypeConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateInsightTypeConfigRequest

getInsightTypeConfig()

public InsightTypeConfig getInsightTypeConfig()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InsightTypeConfig

The insightTypeConfig.

getInsightTypeConfigOrBuilder()

public InsightTypeConfigOrBuilder getInsightTypeConfigOrBuilder()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InsightTypeConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

If true, validate the request and preview the change, but do not actually update it.

bool validate_only = 3;

Returns
TypeDescription
boolean

The validateOnly.

hasInsightTypeConfig()

public boolean hasInsightTypeConfig()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the insightTypeConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

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 UpdateInsightTypeConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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