public static final class ReplaceArtifactRequest.Builder extends GeneratedMessageV3.Builder<ReplaceArtifactRequest.Builder> implements ReplaceArtifactRequestOrBuilder
Request message for ReplaceArtifact.
Protobuf type google.cloud.apigeeregistry.v1.ReplaceArtifactRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplaceArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReplaceArtifactRequest build()
Returns
buildPartial()
public ReplaceArtifactRequest buildPartial()
Returns
clear()
public ReplaceArtifactRequest.Builder clear()
Returns
Overrides
clearArtifact()
public ReplaceArtifactRequest.Builder clearArtifact()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public ReplaceArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ReplaceArtifactRequest.Builder clone()
Returns
Overrides
getArtifact()
public Artifact getArtifact()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getArtifactBuilder()
public Artifact.Builder getArtifactBuilder()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getArtifactOrBuilder()
public ArtifactOrBuilder getArtifactOrBuilder()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public ReplaceArtifactRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasArtifact()
public boolean hasArtifact()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the artifact field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeArtifact(Artifact value)
public ReplaceArtifactRequest.Builder mergeArtifact(Artifact value)
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(ReplaceArtifactRequest other)
public ReplaceArtifactRequest.Builder mergeFrom(ReplaceArtifactRequest other)
Parameter
Returns
public ReplaceArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplaceArtifactRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setArtifact(Artifact value)
public ReplaceArtifactRequest.Builder setArtifact(Artifact value)
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setArtifact(Artifact.Builder builderForValue)
public ReplaceArtifactRequest.Builder setArtifact(Artifact.Builder builderForValue)
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides