Codota Logo
EventProtos$RootInputDataInformationEventProto.getTargetIndex
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
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-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;
}
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;
}
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
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now