Tabnine Logo
MapField.mergeFrom
Code IndexAdd Tabnine to your IDE (free)

How to use
mergeFrom
method
in
com.google.protobuf.MapField

Best Java code snippets using com.google.protobuf.MapField.mergeFrom (Showing top 20 results out of 900)

origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterMetrics other) {
 if (other == com.google.cloud.dataproc.v1.ClusterMetrics.getDefaultInstance()) return this;
 internalGetMutableHdfsMetrics().mergeFrom(other.internalGetHdfsMetrics());
 internalGetMutableYarnMetrics().mergeFrom(other.internalGetYarnMetrics());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.ClusterMetrics other) {
 if (other == com.google.cloud.dataproc.v1beta2.ClusterMetrics.getDefaultInstance())
  return this;
 internalGetMutableHdfsMetrics().mergeFrom(other.internalGetHdfsMetrics());
 internalGetMutableYarnMetrics().mergeFrom(other.internalGetYarnMetrics());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: Alluxio/alluxio

public Builder mergeFrom(alluxio.grpc.GetMountTablePResponse other) {
 if (other == alluxio.grpc.GetMountTablePResponse.getDefaultInstance()) return this;
 internalGetMutableMountPoints().mergeFrom(
   other.internalGetMountPoints());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: Alluxio/alluxio

public Builder mergeFrom(alluxio.grpc.GetMetricsPResponse other) {
 if (other == alluxio.grpc.GetMetricsPResponse.getDefaultInstance()) return this;
 internalGetMutableMetrics().mergeFrom(
   other.internalGetMetrics());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: Alluxio/alluxio

public Builder mergeFrom(alluxio.grpc.ConfigCheckReport other) {
 if (other == alluxio.grpc.ConfigCheckReport.getDefaultInstance()) return this;
 internalGetMutableErrors().mergeFrom(
   other.internalGetErrors());
 internalGetMutableWarns().mergeFrom(
   other.internalGetWarns());
 if (other.hasStatus()) {
  setStatus(other.getStatus());
 }
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: com.google.protobuf/protobuf-java

public Builder mergeFrom(com.google.protobuf.Struct other) {
 if (other == com.google.protobuf.Struct.getDefaultInstance()) return this;
 internalGetMutableFields().mergeFrom(
   other.internalGetFields());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.LoggingConfig other) {
 if (other == com.google.cloud.dataproc.v1beta2.LoggingConfig.getDefaultInstance())
  return this;
 internalGetMutableDriverLogLevels().mergeFrom(other.internalGetDriverLogLevels());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.redis.v1beta1.LocationMetadata other) {
 if (other == com.google.cloud.redis.v1beta1.LocationMetadata.getDefaultInstance())
  return this;
 internalGetMutableAvailableZones().mergeFrom(other.internalGetAvailableZones());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.dataproc.v1.LoggingConfig other) {
 if (other == com.google.cloud.dataproc.v1.LoggingConfig.getDefaultInstance()) return this;
 internalGetMutableDriverLogLevels().mergeFrom(other.internalGetDriverLogLevels());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.logging.v2.WriteLogEntriesPartialErrors other) {
 if (other == com.google.logging.v2.WriteLogEntriesPartialErrors.getDefaultInstance())
  return this;
 internalGetMutableLogEntryErrors().mergeFrom(other.internalGetLogEntryErrors());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: apache/geode

public Builder mergeFrom(org.apache.geode.internal.protocol.protobuf.v1.ConnectionAPI.HandshakeRequest other) {
 if (other == org.apache.geode.internal.protocol.protobuf.v1.ConnectionAPI.HandshakeRequest.getDefaultInstance()) return this;
 internalGetMutableCredentials().mergeFrom(
   other.internalGetCredentials());
 if (!other.getValueFormat().isEmpty()) {
  valueFormat_ = other.valueFormat_;
  onChanged();
 }
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.securitycenter.v1beta1.SecurityMarks other) {
 if (other == com.google.cloud.securitycenter.v1beta1.SecurityMarks.getDefaultInstance())
  return this;
 if (!other.getName().isEmpty()) {
  name_ = other.name_;
  onChanged();
 }
 internalGetMutableMarks().mergeFrom(other.internalGetMarks());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SoftwareConfig other) {
 if (other == com.google.cloud.dataproc.v1beta2.SoftwareConfig.getDefaultInstance())
  return this;
 if (!other.getImageVersion().isEmpty()) {
  imageVersion_ = other.imageVersion_;
  onChanged();
 }
 internalGetMutableProperties().mergeFrom(other.internalGetProperties());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.spanner.v1.PlanNode.ShortRepresentation other) {
 if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance())
  return this;
 if (!other.getDescription().isEmpty()) {
  description_ = other.description_;
  onChanged();
 }
 internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.pubsub.v1.PushConfig other) {
 if (other == com.google.pubsub.v1.PushConfig.getDefaultInstance()) return this;
 if (!other.getPushEndpoint().isEmpty()) {
  pushEndpoint_ = other.pushEndpoint_;
  onChanged();
 }
 internalGetMutableAttributes().mergeFrom(other.internalGetAttributes());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.cloud.dataproc.v1.SoftwareConfig other) {
 if (other == com.google.cloud.dataproc.v1.SoftwareConfig.getDefaultInstance()) return this;
 if (!other.getImageVersion().isEmpty()) {
  imageVersion_ = other.imageVersion_;
  onChanged();
 }
 internalGetMutableProperties().mergeFrom(other.internalGetProperties());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: Alluxio/alluxio

public Builder mergeFrom(alluxio.grpc.InconsistentProperty other) {
 if (other == alluxio.grpc.InconsistentProperty.getDefaultInstance()) return this;
 if (other.hasName()) {
  bitField0_ |= 0x00000001;
  name_ = other.name_;
  onChanged();
 }
 internalGetMutableValues().mergeFrom(
   other.internalGetValues());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.datastore.v1.Entity other) {
 if (other == com.google.datastore.v1.Entity.getDefaultInstance()) return this;
 if (other.hasKey()) {
  mergeKey(other.getKey());
 }
 internalGetMutableProperties().mergeFrom(other.internalGetProperties());
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.devtools.cloudtrace.v2.Span.Attributes other) {
 if (other == com.google.devtools.cloudtrace.v2.Span.Attributes.getDefaultInstance())
  return this;
 internalGetMutableAttributeMap().mergeFrom(other.internalGetAttributeMap());
 if (other.getDroppedAttributesCount() != 0) {
  setDroppedAttributesCount(other.getDroppedAttributesCount());
 }
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
origin: Alluxio/alluxio

public Builder mergeFrom(alluxio.grpc.MountPOptions other) {
 if (other == alluxio.grpc.MountPOptions.getDefaultInstance()) return this;
 if (other.hasReadOnly()) {
  setReadOnly(other.getReadOnly());
 }
 internalGetMutableProperties().mergeFrom(
   other.internalGetProperties());
 if (other.hasShared()) {
  setShared(other.getShared());
 }
 if (other.hasCommonOptions()) {
  mergeCommonOptions(other.getCommonOptions());
 }
 this.mergeUnknownFields(other.unknownFields);
 onChanged();
 return this;
}
com.google.protobufMapFieldmergeFrom

Popular methods of MapField

  • getMap
    Returns the content of this MapField as a read-only Map.
  • getMutableMap
    Gets a mutable Map view of this MapField.
  • isMutable
    Returns whether this field can be modified.
  • clear
  • copy
    Returns a deep copy of this MapField.
  • emptyMapField
    Returns an immutable empty MapField.
  • makeImmutable
    Makes this list immutable. All subsequent modifications will throw an UnsupportedOperationException.
  • newMapField
    Creates a new mutable empty MapField.
  • equals
  • hashCode
  • <init>
  • convertKeyAndValueToMessage
  • <init>,
  • convertKeyAndValueToMessage,
  • convertListToMap,
  • convertMapToList,
  • convertMessageToKeyAndValue,
  • getList,
  • getMapEntryMessageDefaultInstance,
  • getMutableList

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JFrame (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now