Tabnine Logo
EventProtos$RootInputDataInformationEventProto.getTargetIndex
Code IndexAdd Tabnine to your IDE (free)

How to use
getTargetIndex
method
in
org.apache.tez.runtime.api.events.EventProtos$RootInputDataInformationEventProto

Best Java code snippets using org.apache.tez.runtime.api.events.EventProtos$RootInputDataInformationEventProto.getTargetIndex (Showing top 4 results out of 315)

origin: org.apache.tez/tez-api

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasSourceIndex()) {
  hash = (37 * hash) + SOURCE_INDEX_FIELD_NUMBER;
  hash = (53 * hash) + getSourceIndex();
 }
 if (hasTargetIndex()) {
  hash = (37 * hash) + TARGET_INDEX_FIELD_NUMBER;
  hash = (53 * hash) + getTargetIndex();
 }
 if (hasUserPayload()) {
  hash = (37 * hash) + USER_PAYLOAD_FIELD_NUMBER;
  hash = (53 * hash) + getUserPayload().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: org.apache.tez/tez-api

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto)) {
  return super.equals(obj);
 }
 org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto other = (org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto) obj;
 boolean result = true;
 result = result && (hasSourceIndex() == other.hasSourceIndex());
 if (hasSourceIndex()) {
  result = result && (getSourceIndex()
    == other.getSourceIndex());
 }
 result = result && (hasTargetIndex() == other.hasTargetIndex());
 if (hasTargetIndex()) {
  result = result && (getTargetIndex()
    == other.getTargetIndex());
 }
 result = result && (hasUserPayload() == other.hasUserPayload());
 if (hasUserPayload()) {
  result = result && getUserPayload()
    .equals(other.getUserPayload());
 }
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: org.apache.tez/tez-api

public Builder mergeFrom(org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto other) {
 if (other == org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto.getDefaultInstance()) return this;
 if (other.hasSourceIndex()) {
  setSourceIndex(other.getSourceIndex());
 }
 if (other.hasTargetIndex()) {
  setTargetIndex(other.getTargetIndex());
 }
 if (other.hasUserPayload()) {
  setUserPayload(other.getUserPayload());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: org.apache.tez/tez-runtime-internals

public static InputDataInformationEvent
  convertRootInputDataInformationEventFromProto(
  EventProtos.RootInputDataInformationEventProto proto) {
 InputDataInformationEvent diEvent = InputDataInformationEvent.createWithSerializedPayload(
   proto.getSourceIndex(),
   proto.hasUserPayload() ? proto.getUserPayload().asReadOnlyByteBuffer() : null);
 diEvent.setTargetIndex(proto.getTargetIndex());
 return diEvent;
}
org.apache.tez.runtime.api.eventsEventProtos$RootInputDataInformationEventProtogetTargetIndex

Javadoc

optional int32 target_index = 2;

Popular methods of EventProtos$RootInputDataInformationEventProto

  • newBuilder
  • getDefaultInstance
  • getSourceIndex
    optional int32 source_index = 1;
  • getUserPayload
    optional bytes user_payload = 3;
  • hasUserPayload
    optional bytes user_payload = 3;
  • parseFrom
  • <init>
  • equals
  • getDescriptorForType
  • getSerializedSize
  • getUnknownFields
  • hasSourceIndex
    optional int32 source_index = 1;
  • getUnknownFields,
  • hasSourceIndex,
  • hasTargetIndex,
  • hashCode,
  • initFields,
  • isInitialized,
  • makeExtensionsImmutable,
  • parseUnknownField,
  • toBuilder

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JTable (javax.swing)
  • Best plugins for Eclipse
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